@@ -310,14 +310,18 @@ func TestContainerInspectHostConfigDefaults(t *testing.T) {
310310 t .Logf ("len(inspect.HostConfig.GroupAdd) in TestContainerInspectHostConfigDefaults: %+v" , len (inspect .HostConfig .GroupAdd ))
311311 assert .Equal (t , 0 , len (inspect .HostConfig .ExtraHosts ))
312312 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 )
314315 assert .Equal (t , "json-file" , inspect .HostConfig .LogConfig .Driver )
316+ t .Logf ("inspect.HostConfig.LogConfig.Driver in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .LogConfig .Driver )
317+
315318 assert .Equal (t , int64 (0 ), inspect .HostConfig .Memory )
316319 t .Logf ("inspect.HostConfig.Memory in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .Memory )
317320 assert .Equal (t , int64 (0 ), inspect .HostConfig .MemorySwap )
318321 t .Logf ("inspect.HostConfig.MemorySwap in TestContainerInspectHostConfigDefaults: %+v" , inspect .HostConfig .MemorySwap )
319322 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 )
321325 assert .Equal (t , "" , inspect .HostConfig .UTSMode )
322326 assert .Equal (t , int64 (67108864 ), inspect .HostConfig .ShmSize )
323327 assert .Equal (t , "io.containerd.runc.v2" , inspect .HostConfig .Runtime )
0 commit comments