mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #124011 from bart0sh/PR138-e2e_node-fix-podresurces-failure
e2e_node: fix podresources test
This commit is contained in:
		@@ -1027,7 +1027,7 @@ var _ = SIGDescribe("POD Resources", framework.WithSerial(), feature.PodResource
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
					pod := makePodResourcesTestPod(pd)
 | 
										pod := makePodResourcesTestPod(pd)
 | 
				
			||||||
					pod.Spec.Containers[0].Command = []string{"sh", "-c", "/bin/true"}
 | 
										pod.Spec.Containers[0].Command = []string{"sh", "-c", "/bin/true"}
 | 
				
			||||||
					pod = e2epod.NewPodClient(f).CreateSync(ctx, pod)
 | 
										pod = e2epod.NewPodClient(f).Create(ctx, pod)
 | 
				
			||||||
					defer e2epod.NewPodClient(f).DeleteSync(ctx, pod.Name, metav1.DeleteOptions{}, time.Minute)
 | 
										defer e2epod.NewPodClient(f).DeleteSync(ctx, pod.Name, metav1.DeleteOptions{}, time.Minute)
 | 
				
			||||||
					err := e2epod.WaitForPodCondition(ctx, f.ClientSet, pod.Namespace, pod.Name, "Pod Succeeded", time.Minute*2, testutils.PodSucceeded)
 | 
										err := e2epod.WaitForPodCondition(ctx, f.ClientSet, pod.Namespace, pod.Name, "Pod Succeeded", time.Minute*2, testutils.PodSucceeded)
 | 
				
			||||||
					framework.ExpectNoError(err)
 | 
										framework.ExpectNoError(err)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user