Skip to content

Commit 20d0ab7

Browse files
authored
Merge pull request kubernetes#124011 from bart0sh/PR138-e2e_node-fix-podresurces-failure
e2e_node: fix podresources test
2 parents 1b3e4e7 + 6f5240b commit 20d0ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/podresources_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ var _ = SIGDescribe("POD Resources", framework.WithSerial(), feature.PodResource
10271027
}
10281028
pod := makePodResourcesTestPod(pd)
10291029
pod.Spec.Containers[0].Command = []string{"sh", "-c", "/bin/true"}
1030-
pod = e2epod.NewPodClient(f).CreateSync(ctx, pod)
1030+
pod = e2epod.NewPodClient(f).Create(ctx, pod)
10311031
defer e2epod.NewPodClient(f).DeleteSync(ctx, pod.Name, metav1.DeleteOptions{}, time.Minute)
10321032
err := e2epod.WaitForPodCondition(ctx, f.ClientSet, pod.Namespace, pod.Name, "Pod Succeeded", time.Minute*2, testutils.PodSucceeded)
10331033
framework.ExpectNoError(err)

0 commit comments

Comments
 (0)