@@ -120,8 +120,8 @@ var _ = framework.KubeDescribe("Security Context", func() {
120
120
121
121
It ("runtime should support HostIpc is true" , func () {
122
122
By ("create shared memory segment on the host" )
123
- out , err := exec .Command ("ipcmk" , "-M" , "1M " ).Output ()
124
- framework .ExpectNoError (err , "failed to execute ipcmk -M 1M " )
123
+ out , err := exec .Command ("ipcmk" , "-M" , "1048576 " ).Output ()
124
+ framework .ExpectNoError (err , "failed to execute ipcmk -M 1048576 " )
125
125
rawID := strings .TrimSpace (string (out ))
126
126
segmentID := strings .TrimPrefix (rawID , "Shared memory id: " )
127
127
@@ -153,8 +153,8 @@ var _ = framework.KubeDescribe("Security Context", func() {
153
153
154
154
It ("runtime should support HostIpc is false" , func () {
155
155
By ("create shared memory segment on the host" )
156
- out , err := exec .Command ("ipcmk" , "-M" , "1M " ).Output ()
157
- framework .ExpectNoError (err , "failed to execute ipcmk -M 1M " )
156
+ out , err := exec .Command ("ipcmk" , "-M" , "1048576 " ).Output ()
157
+ framework .ExpectNoError (err , "failed to execute ipcmk -M 1048576 " )
158
158
rawID := strings .TrimSpace (string (out ))
159
159
segmentID := strings .TrimPrefix (rawID , "Shared memory id: " )
160
160
0 commit comments