Skip to content

Commit 5b7b81a

Browse files
authored
let e2e concurrency configurable (fatedier#3881)
1 parent 2a9a7a0 commit 5b7b81a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ dist/
3434
.idea/
3535
.vscode/
3636
.autogen_ssh_key
37+
client.crt
38+
client.key
3739

3840
# Cache
3941
*.swp

hack/run-e2e.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ frpsPath=${ROOT}/bin/frps
2626
if [ "${FRPS_PATH}" ]; then
2727
frpsPath="${FRPS_PATH}"
2828
fi
29+
concurrency="12"
30+
if [ "${CONCURRENCY}" ]; then
31+
concurrency="${CONCURRENCY}"
32+
fi
2933

30-
ginkgo -nodes=8 --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug}
34+
ginkgo -nodes=${concurrency} --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug}

0 commit comments

Comments
 (0)