Skip to content

Commit df35f17

Browse files
authored
Merge pull request kubernetes#125077 from eddiezane/ez/fix-test-simple-pod
Reduce file descriptors created in test
2 parents ea06d60 + 49f85ca commit df35f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/kubectl/kubectl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ metadata:
858858
podName := "run-log-test"
859859

860860
ginkgo.By("executing a command with run")
861-
e2ekubectl.RunKubectlOrDie(ns, "run", podName, "--image="+imageutils.GetE2EImage(imageutils.BusyBox), "--restart=OnFailure", podRunningTimeoutArg, "--", "sh", "-c", "sleep 10; seq 100 | while read i; do echo $i; sleep 0.01; done; echo EOF")
861+
e2ekubectl.RunKubectlOrDie(ns, "run", podName, "--image="+imageutils.GetE2EImage(imageutils.BusyBox), "--restart=OnFailure", podRunningTimeoutArg, "--", "sh", "-c", "sleep 10; for i in {1..100}; do echo $i; sleep 0.01; done; echo EOF")
862862

863863
if !e2epod.CheckPodsRunningReadyOrSucceeded(ctx, c, ns, []string{podName}, framework.PodStartTimeout) {
864864
framework.Failf("Pod for run-log-test was not ready")

0 commit comments

Comments
 (0)