Skip to content

Commit 627bfbd

Browse files
committed
windows does not support sleep infinity
1 parent 5092713 commit 627bfbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/framework/pod/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const InfiniteSleepCommand = "trap exit TERM; while true; do sleep 1; done"
4343
//
4444
// This is useful for testing scenarios where the container is terminated
4545
// with a non-zero exit code.
46-
const InfiniteSleepCommandWithoutGracefulShutdown = "sleep infinity"
46+
const InfiniteSleepCommandWithoutGracefulShutdown = "while true; do sleep 1; done"
4747

4848
// GenerateScriptCmd generates the corresponding command lines to execute a command.
4949
func GenerateScriptCmd(command string) []string {

0 commit comments

Comments
 (0)