Skip to content

Commit a131c4d

Browse files
committed
id errors 4
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent 821ea3d commit a131c4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/nerdctl/container/container_inspect_linux_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ func TestContainerInspectHostConfig(t *testing.T) {
249249
"--add-host", "host2:10.0.0.2",
250250
"--ipc", "host",
251251
"--memory", "512m",
252-
"--oom-kill-disable",
253252
"--read-only",
254253
"--uts", "host",
255254
"--shm-size", "256m",
@@ -272,7 +271,7 @@ func TestContainerInspectHostConfig(t *testing.T) {
272271
assert.Equal(t, "json-file", inspect.HostConfig.LogConfig.Driver)
273272
assert.Equal(t, int64(536870912), inspect.HostConfig.Memory)
274273
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)
276275
assert.Equal(t, true, inspect.HostConfig.ReadonlyRootfs)
277276
assert.Equal(t, "host", inspect.HostConfig.UTSMode)
278277
assert.Equal(t, int64(268435456), inspect.HostConfig.ShmSize)

0 commit comments

Comments
 (0)