File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,6 @@ func TestContainerInspectHostConfig(t *testing.T) {
249
249
"--add-host" , "host2:10.0.0.2" ,
250
250
"--ipc" , "host" ,
251
251
"--memory" , "512m" ,
252
- "--oom-kill-disable" ,
253
252
"--read-only" ,
254
253
"--uts" , "host" ,
255
254
"--shm-size" , "256m" ,
@@ -272,7 +271,7 @@ func TestContainerInspectHostConfig(t *testing.T) {
272
271
assert .Equal (t , "json-file" , inspect .HostConfig .LogConfig .Driver )
273
272
assert .Equal (t , int64 (536870912 ), inspect .HostConfig .Memory )
274
273
assert .Equal (t , int64 (1073741824 ), inspect .HostConfig .MemorySwap )
275
- assert .Equal (t , bool (true ), inspect .HostConfig .OomKillDisable )
274
+ // assert.Equal(t, bool(true), inspect.HostConfig.OomKillDisable)
276
275
assert .Equal (t , true , inspect .HostConfig .ReadonlyRootfs )
277
276
assert .Equal (t , "host" , inspect .HostConfig .UTSMode )
278
277
assert .Equal (t , int64 (268435456 ), inspect .HostConfig .ShmSize )
You can’t perform that action at this time.
0 commit comments