From 9ab0d81d7667dd456a887dffe3c85f602de89fc7 Mon Sep 17 00:00:00 2001 From: Laura Lorenz Date: Wed, 13 Nov 2024 01:39:58 +0000 Subject: [PATCH] Now that sleep is shorter, only expect to reach 3 within 30s Focused too much on the container restart one in commit that fixed that Signed-off-by: Laura Lorenz --- test/e2e_node/image_pull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/image_pull_test.go b/test/e2e_node/image_pull_test.go index 28c393f2a96..a80795f8f37 100644 --- a/test/e2e_node/image_pull_test.go +++ b/test/e2e_node/image_pull_test.go @@ -263,7 +263,7 @@ var _ = SIGDescribe("Pull Image", feature.CriProxy, framework.WithSerial(), func e, err := getImagePullAttempts(ctx, f, pod.Name) framework.ExpectNoError(err) // 3 would take 10s best case. - gomega.Expect(e.Count).Should(gomega.BeNumerically(">", 3)) + gomega.Expect(e.Count).Should(gomega.BeNumerically(">=", 3)) // 7 would take 310s best case, if the infra went slow. gomega.Expect(e.Count).Should(gomega.BeNumerically("<=", 7))