mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
add semicolon
This commit is contained in:
parent
43dcf0f56c
commit
d1545e1e47
@ -312,7 +312,7 @@ func getRestartingContainerCommand(path string, containerNum int, restarts int32
|
|||||||
if [ $count -lt %d ]; then
|
if [ $count -lt %d ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
while true; do %s sleep 10; done`,
|
while true; do %s sleep 1; done`,
|
||||||
path, strconv.Itoa(containerNum), restarts+1, loopingCommand),
|
path, strconv.Itoa(containerNum), restarts+1, loopingCommand),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -285,7 +285,7 @@ func getSummaryTestPods(f *framework.Framework, numRestarts int32, names ...stri
|
|||||||
{
|
{
|
||||||
Name: "busybox-container",
|
Name: "busybox-container",
|
||||||
Image: "gcr.io/google_containers/busybox:1.24",
|
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{
|
Resources: v1.ResourceRequirements{
|
||||||
Limits: v1.ResourceList{
|
Limits: v1.ResourceList{
|
||||||
// Must set memory limit to get MemoryStats.AvailableBytes
|
// Must set memory limit to get MemoryStats.AvailableBytes
|
||||||
|
Loading…
Reference in New Issue
Block a user