File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
cluster/images/conformance Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ saveResults() {
40
40
# Entry provided via env var to simplify invocation.
41
41
if [[ -n ${E2E_USE_GO_RUNNER:- } ]]; then
42
42
set -x
43
- /gorunner
44
- exit $?
43
+ /gorunner && ret=0 || ret= $?
44
+ exit ${ret}
45
45
fi
46
46
47
47
# We get the TERM from kubernetes and handle it gracefully
@@ -67,8 +67,7 @@ ginkgo_args+=(
67
67
)
68
68
69
69
set -x
70
- /usr/local/bin/ginkgo " ${ginkgo_args[@]} " /usr/local/bin/e2e.test -- --disable-log-dump --repo-root=/kubernetes --provider=" ${E2E_PROVIDER} " --report-dir=" ${RESULTS_DIR} " --kubeconfig=" ${KUBECONFIG} " -v=" ${E2E_VERBOSITY} " > >( tee " ${RESULTS_DIR} " /e2e.log)
71
- ret=$?
70
+ /usr/local/bin/ginkgo " ${ginkgo_args[@]} " /usr/local/bin/e2e.test -- --disable-log-dump --repo-root=/kubernetes --provider=" ${E2E_PROVIDER} " --report-dir=" ${RESULTS_DIR} " --kubeconfig=" ${KUBECONFIG} " -v=" ${E2E_VERBOSITY} " > >( tee " ${RESULTS_DIR} " /e2e.log) && ret=0 || ret=$?
72
71
set +x
73
72
saveResults
74
73
exit ${ret}
You can’t perform that action at this time.
0 commit comments