From 5b7b81a117c6cf8695b8546c70d3bb0046df6b8a Mon Sep 17 00:00:00 2001 From: fatedier Date: Thu, 21 Dec 2023 21:58:56 +0800 Subject: [PATCH] let e2e concurrency configurable (#3881) --- .gitignore | 2 ++ hack/run-e2e.sh | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c9480d52..0f69b089 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ dist/ .idea/ .vscode/ .autogen_ssh_key +client.crt +client.key # Cache *.swp diff --git a/hack/run-e2e.sh b/hack/run-e2e.sh index a7d4688a..d51d0cef 100755 --- a/hack/run-e2e.sh +++ b/hack/run-e2e.sh @@ -26,5 +26,9 @@ frpsPath=${ROOT}/bin/frps if [ "${FRPS_PATH}" ]; then frpsPath="${FRPS_PATH}" fi +concurrency="12" +if [ "${CONCURRENCY}" ]; then + concurrency="${CONCURRENCY}" +fi -ginkgo -nodes=8 --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug} +ginkgo -nodes=${concurrency} --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug}