From d1545e1e4721cf0112c56eb29cd8fee6b72ba6f5 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Thu, 1 Jun 2017 13:32:59 -0700 Subject: [PATCH] add semicolon --- test/e2e_node/garbage_collector_test.go | 2 +- test/e2e_node/summary_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e_node/garbage_collector_test.go b/test/e2e_node/garbage_collector_test.go index 5bce0a2d3a..2b9c604169 100644 --- a/test/e2e_node/garbage_collector_test.go +++ b/test/e2e_node/garbage_collector_test.go @@ -312,7 +312,7 @@ func getRestartingContainerCommand(path string, containerNum int, restarts int32 if [ $count -lt %d ]; then exit 0 fi - while true; do %s sleep 10; done`, + while true; do %s sleep 1; done`, path, strconv.Itoa(containerNum), restarts+1, loopingCommand), } } diff --git a/test/e2e_node/summary_test.go b/test/e2e_node/summary_test.go index e5b40ae8cd..476afe2bbc 100644 --- a/test/e2e_node/summary_test.go +++ b/test/e2e_node/summary_test.go @@ -285,7 +285,7 @@ func getSummaryTestPods(f *framework.Framework, numRestarts int32, names ...stri { Name: "busybox-container", Image: "gcr.io/google_containers/busybox:1.24", - Command: getRestartingContainerCommand("/test-empty-dir-mnt", 0, numRestarts, "ping -c 1 google.com; echo 'hello world' >> /test-empty-dir-mnt/file"), + Command: getRestartingContainerCommand("/test-empty-dir-mnt", 0, numRestarts, "ping -c 1 google.com; echo 'hello world' >> /test-empty-dir-mnt/file;"), Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ // Must set memory limit to get MemoryStats.AvailableBytes