Skip to content

Commit 2732d57

Browse files
committed
Missed refactor of container name here
Signed-off-by: Laura Lorenz <[email protected]>
1 parent e6059d7 commit 2732d57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e_node/container_restart_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func doTest(ctx context.Context, f *framework.Framework, targetRestarts int, con
9494
podErr := e2epod.WaitForPodContainerToFail(ctx, f.ClientSet, f.Namespace.Name, pod.Name, 0, "CrashLoopBackOff", 1*time.Minute)
9595
gomega.Expect(podErr).To(gomega.HaveOccurred())
9696

97-
// Wait for 150s worth of backoffs to occur so we can confirm the backoff growth.
98-
podErr = e2epod.WaitForContainerRestartedNTimes(ctx, f.ClientSet, f.Namespace.Name, pod.Name, "restart", 150*time.Second, targetRestarts)
97+
// Wait for 210s worth of backoffs to occur so we can confirm the backoff growth.
98+
podErr = e2epod.WaitForContainerRestartedNTimes(ctx, f.ClientSet, f.Namespace.Name, pod.Name, containerName, 210*time.Second, targetRestarts)
9999
gomega.Expect(podErr).ShouldNot(gomega.HaveOccurred(), "Expected container to repeatedly back off container failures")
100100

101101
r, err := extractObservedBackoff(ctx, f, pod.Name, containerName)

0 commit comments

Comments
 (0)