Skip to content

Commit 765fd0b

Browse files
committed
Makefile/e2e: return the exit code of ginkgo command instead of 0
1 parent 22fa1fb commit 765fd0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ run-e2e: e2e-essentials ## Run e2e testing. JOB is an optional REGEXP to select
289289
-e2e.artifacts-folder=${REPO_ROOT}/_artifacts \
290290
-e2e.config=${E2E_CONFIG} \
291291
-e2e.skip-resource-cleanup=false -e2e.use-existing-cluster=true
292+
EXIT_STATUS=$$?
292293
kind delete clusters capi-test
294+
exit $$EXIT_STATUS
293295

294296
run-e2e-smoke:
295297
./hack/ensure-kind.sh

0 commit comments

Comments
 (0)