@@ -610,7 +610,7 @@ var _ = framework.KubeDescribe("Security Context", func() {
610
610
containerConfig := & runtimeapi.ContainerConfig {
611
611
Metadata : framework .BuildContainerMetadata (containerName , framework .DefaultAttempt ),
612
612
Image : & runtimeapi.ImageSpec {Image : testImagePreDefinedGroup },
613
- Command : []string {"sh" , "-c" , "id -G; while :; do sleep 1; done " },
613
+ Command : []string {"sh" , "-c" , "id -G; sleep infinity " },
614
614
Linux : & runtimeapi.LinuxContainerConfig {
615
615
SecurityContext : & runtimeapi.LinuxContainerSecurityContext {
616
616
RunAsUser : & runtimeapi.Int64Value {Value : imagePredefinedGroupUID },
@@ -677,7 +677,7 @@ var _ = framework.KubeDescribe("Security Context", func() {
677
677
containerConfig := & runtimeapi.ContainerConfig {
678
678
Metadata : framework .BuildContainerMetadata (containerName , framework .DefaultAttempt ),
679
679
Image : & runtimeapi.ImageSpec {Image : testImagePreDefinedGroup },
680
- Command : []string {"sh" , "-c" , "id -G; while :; do sleep 1; done " },
680
+ Command : []string {"sh" , "-c" , "id -G; sleep infinity " },
681
681
Linux : & runtimeapi.LinuxContainerConfig {
682
682
SecurityContext : & runtimeapi.LinuxContainerSecurityContext {
683
683
RunAsUser : & runtimeapi.Int64Value {Value : imagePredefinedGroupUID },
0 commit comments