mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Missed refactor of container name here
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
This commit is contained in:
		@@ -94,8 +94,8 @@ func doTest(ctx context.Context, f *framework.Framework, targetRestarts int, con
 | 
				
			|||||||
	podErr := e2epod.WaitForPodContainerToFail(ctx, f.ClientSet, f.Namespace.Name, pod.Name, 0, "CrashLoopBackOff", 1*time.Minute)
 | 
						podErr := e2epod.WaitForPodContainerToFail(ctx, f.ClientSet, f.Namespace.Name, pod.Name, 0, "CrashLoopBackOff", 1*time.Minute)
 | 
				
			||||||
	gomega.Expect(podErr).To(gomega.HaveOccurred())
 | 
						gomega.Expect(podErr).To(gomega.HaveOccurred())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Wait for 150s worth of backoffs to occur so we can confirm the backoff growth.
 | 
						// Wait for 210s worth of backoffs to occur so we can confirm the backoff growth.
 | 
				
			||||||
	podErr = e2epod.WaitForContainerRestartedNTimes(ctx, f.ClientSet, f.Namespace.Name, pod.Name, "restart", 150*time.Second, targetRestarts)
 | 
						podErr = e2epod.WaitForContainerRestartedNTimes(ctx, f.ClientSet, f.Namespace.Name, pod.Name, containerName, 210*time.Second, targetRestarts)
 | 
				
			||||||
	gomega.Expect(podErr).ShouldNot(gomega.HaveOccurred(), "Expected container to repeatedly back off container failures")
 | 
						gomega.Expect(podErr).ShouldNot(gomega.HaveOccurred(), "Expected container to repeatedly back off container failures")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	r, err := extractObservedBackoff(ctx, f, pod.Name, containerName)
 | 
						r, err := extractObservedBackoff(ctx, f, pod.Name, containerName)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user