Skip to content

Commit

Permalink
Merge pull request kubernetes#124011 from bart0sh/PR138-e2e_node-fix-…
Browse files Browse the repository at this point in the history
…podresurces-failure

e2e_node: fix podresources test
  • Loading branch information
k8s-ci-robot committed Mar 22, 2024
2 parents 1b3e4e7 + 6f5240b commit 20d0ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e_node/podresources_test.go
Expand Up @@ -1027,7 +1027,7 @@ var _ = SIGDescribe("POD Resources", framework.WithSerial(), feature.PodResource
}
pod := makePodResourcesTestPod(pd)
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)
err := e2epod.WaitForPodCondition(ctx, f.ClientSet, pod.Namespace, pod.Name, "Pod Succeeded", time.Minute*2, testutils.PodSucceeded)
framework.ExpectNoError(err)
Expand Down

0 comments on commit 20d0ab7

Please sign in to comment.