@@ -310,14 +310,18 @@ func TestContainerInspectHostConfigDefaults(t *testing.T) {
310
310
t .Logf ("len(inspect.HostConfig.GroupAdd) in TestContainerInspectHostConfigDefaults: %+v" , len (inspect .HostConfig .GroupAdd ))
311
311
assert .Equal (t , 0 , len (inspect .HostConfig .ExtraHosts ))
312
312
t .Logf ("len(inspect.HostConfig.ExtraHosts) in TestContainerInspectHostConfigDefaults: %+v" , len (inspect .HostConfig .ExtraHosts ))
313
- assert .Equal (t , "" , inspect .HostConfig .IpcMode )
313
+ assert .Equal (t , "private" , inspect .HostConfig .IpcMode )
314
+ t .Logf ("inspect.HostConfig.IpcMode in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .IpcMode )
314
315
assert .Equal (t , "json-file" , inspect .HostConfig .LogConfig .Driver )
316
+ t .Logf ("inspect.HostConfig.LogConfig.Driver in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .LogConfig .Driver )
317
+
315
318
assert .Equal (t , int64 (0 ), inspect .HostConfig .Memory )
316
319
t .Logf ("inspect.HostConfig.Memory in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .Memory )
317
320
assert .Equal (t , int64 (0 ), inspect .HostConfig .MemorySwap )
318
321
t .Logf ("inspect.HostConfig.MemorySwap in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .MemorySwap )
319
322
assert .Equal (t , bool (false ), inspect .HostConfig .OomKillDisable )
320
- assert .Equal (t , false , inspect .HostConfig .ReadonlyRootfs )
323
+ t .Logf ("inspect.HostConfig.OomKillDisable in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .OomKillDisable )
324
+ assert .Equal (t , bool (false ), inspect .HostConfig .ReadonlyRootfs )
321
325
assert .Equal (t , "" , inspect .HostConfig .UTSMode )
322
326
assert .Equal (t , int64 (67108864 ), inspect .HostConfig .ShmSize )
323
327
assert .Equal (t , "io.containerd.runc.v2" , inspect .HostConfig .Runtime )
0 commit comments