(t *testing.T)
| 294 | } |
| 295 | |
| 296 | func TestValidateContainerIsolation(t *testing.T) { |
| 297 | d := Daemon{} |
| 298 | |
| 299 | _, err := d.verifyContainerSettings(&configStore{}, &containertypes.HostConfig{Isolation: containertypes.Isolation("invalid")}, nil, false) |
| 300 | assert.Check(t, is.Error(err, "invalid isolation 'invalid' on "+runtime.GOOS)) |
| 301 | } |
| 302 | |
| 303 | func TestInvalidContainerPort0(t *testing.T) { |
| 304 | d := Daemon{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…