Add support to run e2e tests serially
This commit is contained in:
parent
1109db2d09
commit
09e2466671
2 changed files with 43 additions and 25 deletions
|
|
@ -43,14 +43,27 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
|
|||
|
||||
ginkgo build ./test/e2e
|
||||
|
||||
exec -- \
|
||||
echo "Running e2e test suite..."
|
||||
ginkgo \
|
||||
-randomizeSuites \
|
||||
-randomizeAllSpecs \
|
||||
-flakeAttempts=2 \
|
||||
--focus=${FOCUS} \
|
||||
-focus=${FOCUS} \
|
||||
-skip="\[Serial\]" \
|
||||
-p \
|
||||
-trace \
|
||||
-nodes=${E2E_NODES} \
|
||||
-slowSpecThreshold=${SLOW_E2E_THRESHOLD} \
|
||||
test/e2e/e2e.test
|
||||
|
||||
echo "Running e2e test suite with tests that require serial execution..."
|
||||
ginkgo \
|
||||
-randomizeSuites \
|
||||
-randomizeAllSpecs \
|
||||
-flakeAttempts=2 \
|
||||
-focus="\[Serial\]" \
|
||||
-p \
|
||||
-trace \
|
||||
-nodes=1 \
|
||||
-slowSpecThreshold=${SLOW_E2E_THRESHOLD} \
|
||||
test/e2e/e2e.test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue