From 3a6f5524bada64f057b4a6a4bf27dd0d526789a1 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 24 Apr 2020 18:27:23 +0200 Subject: [PATCH] Makefile: add -failfast to e2e-op When an MCO e2e test fails, we keep running all the others till the end. That has the shortcoming of not providing the journal for any test that failed. This has been found in https://bugzilla.redhat.com/show_bug.cgi?id=1827712 The bug itself needs journal to debug. Adding -failfast will halt test execution at the first failure which I think it's generally better for e2e-op as we get a fast feedback from tests. To further debug that BZ tho we'd need to capture the last boot as well which I'll fix in a follow up PR to openshift/release. Signed-off-by: Antonio Murdaca --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f04104f2ed..cfd5685ef7 100644 --- a/Makefile +++ b/Makefile @@ -107,4 +107,4 @@ Dockerfile.rhel7: Dockerfile Makefile # This was copied from https://github.com/openshift/cluster-image-registry-operato test-e2e: - go test -timeout 120m -v$${WHAT:+ -run="$$WHAT"} ./test/e2e/ + go test -failfast -timeout 120m -v$${WHAT:+ -run="$$WHAT"} ./test/e2e/