From 6cb6ac930862499c0dcc04316a92b7b1aa76337c Mon Sep 17 00:00:00 2001 From: Petr Horacek Date: Mon, 12 Dec 2022 13:49:29 +0100 Subject: [PATCH] Increase timeout of mirror tests (#255) (#256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 30 seconds is not enough on slower systems. Signed-off-by: Petr Horáček Signed-off-by: Petr Horáček Signed-off-by: Petr Horáček --- tests/mirror_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mirror_test.go b/tests/mirror_test.go index 1cd979f1..2fa2e20a 100644 --- a/tests/mirror_test.go +++ b/tests/mirror_test.go @@ -78,7 +78,7 @@ var testMirrorFunc = func(version string) { Eventually(func() error { _, err := clusterApi.ReadFileFromPod(podConsName, "test", "/tcpdump.log") return err - }, 30 * time.Second, time.Second).Should(Succeed(), "tcpdump did not start in time"); + }, 120 * time.Second, time.Second).Should(Succeed(), "tcpdump did not start in time"); clusterApi.CreatePrivilegedPodWithIP(podProd1Name, nadProducerName, bridgeName, cidrPodProd1, "") clusterApi.CreatePrivilegedPodWithIP(podProd2Name, nadProducerName, bridgeName, cidrPodProd2, "")