From f8f263388f4306905b26046a0e3df462a430a50d Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Thu, 8 Feb 2024 08:02:41 +0100 Subject: [PATCH] Disable lenght check for errors in heper emthod --- test/e2e/helpers.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/helpers.go b/test/e2e/helpers.go index 28e747df3..4fc1da895 100644 --- a/test/e2e/helpers.go +++ b/test/e2e/helpers.go @@ -84,11 +84,12 @@ func verifyHealthStatusInPod(name string, namespace string) { Expect(h.Status).To(Equal(upStatus)) return } - if len(errs.Error()) > 0 { + errs = err + /*if len(errs.Error()) > 0 { errs = fmt.Errorf("%v; %w", err, errs) } else { errs = err - } + }*/ } Expect(errs).NotTo(HaveOccurred(), fmt.Sprintf("No container was found that could respond to the health endpoint %v", errs))