From 2e37f51864bc1a1e7e5b0ba8e9bddd1c9fb916b1 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Tue, 2 Apr 2024 20:13:19 +0530 Subject: [PATCH] test: update e2e tests Signed-off-by: Nitin Goyal --- e2e/setup_teardown.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/e2e/setup_teardown.go b/e2e/setup_teardown.go index d898b34f4..547d34356 100644 --- a/e2e/setup_teardown.go +++ b/e2e/setup_teardown.go @@ -18,11 +18,12 @@ func Setup() { debug("Setup: deploying ODF Operator\n") err := DeployManager.DeployODFWithOLM(OdfCatalogSourceImage, OdfSubscriptionChannel) gomega.Expect(err).To(gomega.BeNil()) - - debug("Setup: Checking if all the CSVs have succeeded\n") - err = DeployManager.CheckAllCsvs(CsvNames) - gomega.Expect(err).To(gomega.BeNil()) } + + debug("Setup: Checking if all the CSVs have succeeded\n") + err := DeployManager.CheckAllCsvs(CsvNames) + gomega.Expect(err).To(gomega.BeNil()) + SuiteFailed = false debug("Setup: completed\n")