3 Star 11 Fork 0

Gitee 极速下载/fn-project

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/fnproject/fn
克隆/下载
system_test.sh 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
set -exuo pipefail
export CONTEXT="fn_system_tests"
source ./helpers.sh
remove_containers ${CONTEXT}
DB_NAME=$1
export FN_DB_URL=$(spawn_${DB_NAME} ${CONTEXT})
# avoid port conflicts with api_test.sh which are run in parallel
export FN_API_URL="http://localhost:8085"
export FN_DS_DB_PING_MAX_RETRIES=60
# pure runner and LB agent required settings below
export FN_MAX_REQUEST_SIZE=6291456
export FN_MAX_RESPONSE_SIZE=6291456
export FN_ENABLE_NB_RESOURCE_TRACKER=1
export FN_LOG_LEVEL=debug
#
# dump prometheus metrics to this file
#
export SYSTEM_TEST_PROMETHEUS_FILE=./prometheus.${DB_NAME}.txt
cd test/fn-system-tests
go test -v ./...
cd ../../
remove_containers ${CONTEXT}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mirrors/fn-project.git
git@gitee.com:mirrors/fn-project.git
mirrors
fn-project
fn-project
master

搜索帮助