From 1e8f87f19c87e9e31b0cd5e863b4ed8934208ec0 Mon Sep 17 00:00:00 2001 From: mzeevi Date: Wed, 28 Aug 2024 11:46:12 +0000 Subject: [PATCH] fix: modify flaky capprevision test Signed-off-by: mzeevi --- test/e2e_tests/capp_revision_e2e_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e_tests/capp_revision_e2e_test.go b/test/e2e_tests/capp_revision_e2e_test.go index 4b48675e..d21e5edb 100644 --- a/test/e2e_tests/capp_revision_e2e_test.go +++ b/test/e2e_tests/capp_revision_e2e_test.go @@ -69,7 +69,8 @@ var _ = Describe("Validate CappRevision creation", func() { Eventually(func() string { return utilst.GetCapp(k8sClient, desiredCapp.Name, desiredCapp.Namespace).Annotations["test"] }, testconsts.Timeout, testconsts.Interval).Should(Equal(assertValue), "Should be equal to the updated value") - utilst.GetCapp(k8sClient, desiredCapp.Name, desiredCapp.Namespace) + + desiredCapp = utilst.GetCapp(k8sClient, desiredCapp.Name, desiredCapp.Namespace) } Eventually(func() int {