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 <lauralorenz@google.com>
This commit is contained in:
Laura Lorenz 2024-11-13 01:39:58 +00:00
parent 59f9858086
commit 9ab0d81d76

View File

@ -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))