From 316728beed938cdda9c83d27fe9e82a2d6deec40 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Thu, 12 Sep 2024 09:19:27 +0100 Subject: [PATCH] tests: Fix flaky dnspolicy test (#854) Flaky test: ``` Summarizing 1 Failure: [FAIL] DNSPolicy controller valid target and valid gateway status [It] should re-create dns record when listener hostname changes /home/runner/work/kuadrant-operator/kuadrant-operator/tests/common/dnspolicy/dnspolicy_controller_test.go:766 ``` Caused by not waiting long enough for the records to become ready again, increased the timout on the check. Signed-off-by: Michael Nairn --- tests/common/dnspolicy/dnspolicy_controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/dnspolicy/dnspolicy_controller_test.go b/tests/common/dnspolicy/dnspolicy_controller_test.go index 10f9c8473..09ee8dccb 100644 --- a/tests/common/dnspolicy/dnspolicy_controller_test.go +++ b/tests/common/dnspolicy/dnspolicy_controller_test.go @@ -763,7 +763,7 @@ var _ = Describe("DNSPolicy controller", func() { ) currentRec = newRec currentWildcardRec = newWildcardRec - }, tests.TimeoutMedium, time.Second).Should(BeNil()) + }, tests.TimeoutLong, time.Second).Should(BeNil()) }, testTimeOut) It("should remove gateway back reference on policy deletion", func(ctx SpecContext) {