Skip to content

Commit 6ac2bfd

Browse files
Allow overriding gingko args in e2e tests
1 parent 24daea6 commit 6ac2bfd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci-e2e.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
set -o errexit
1818
set -o pipefail
1919

20+
2021
REPO_ROOT=$(git rev-parse --show-toplevel)
2122
cd "${REPO_ROOT}" || exit 1
2223

@@ -53,7 +54,7 @@ kind:prepullAdditionalImages
5354
# Configure e2e tests
5455
export GINKGO_NODES=3
5556
export GINKGO_NOCOLOR=true
56-
export GINKGO_ARGS="--fail-fast" # Other ginkgo args that need to be appended to the command.
57+
export GINKGO_ARGS="${GINKGO_ARGS:-"--fail-fast"}"
5758
export E2E_CONF_FILE="${REPO_ROOT}/test/e2e/config/docker.yaml"
5859
export ARTIFACTS="${ARTIFACTS:-${REPO_ROOT}/_artifacts}"
5960
export SKIP_RESOURCE_CLEANUP=false

0 commit comments

Comments
 (0)