From 26e20ce8772dd660e4372ec1fb98b16fb55da06b Mon Sep 17 00:00:00 2001 From: Maskym Vavilov Date: Thu, 30 Jan 2025 15:18:12 +0000 Subject: [PATCH] test fix Signed-off-by: Maskym Vavilov --- tests/common/ratelimitpolicy/ratelimitpolicy_controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/ratelimitpolicy/ratelimitpolicy_controller_test.go b/tests/common/ratelimitpolicy/ratelimitpolicy_controller_test.go index 55d905470..a8bd6830d 100644 --- a/tests/common/ratelimitpolicy/ratelimitpolicy_controller_test.go +++ b/tests/common/ratelimitpolicy/ratelimitpolicy_controller_test.go @@ -672,7 +672,7 @@ var _ = Describe("RateLimitPolicy controller", func() { Expect(k8sClient.Create(ctx, gwRLP)).To(Succeed()) gwRLPKey := client.ObjectKey{Name: gwRLP.Name, Namespace: testNamespace} Eventually(assertPolicyIsAcceptedAndNotEnforced(ctx, gwRLPKey)).WithContext(ctx).Should(BeTrue()) - Expect(tests.RLPEnforcedCondition(ctx, testClient(), gwRLPKey, kuadrant.PolicyReasonUnknown, "RateLimitPolicy is not in the path to any existing routes")) + Expect(tests.RLPEnforcedCondition(ctx, testClient(), gwRLPKey, kuadrant.PolicyReasonUnknown, "RateLimitPolicy is not in the path to any existing routes")).To(BeTrue()) }, testTimeOut) })