MCPcopy Index your code
hub / github.com/moby/moby / TestValidateContainerIsolationLinux

Function TestValidateContainerIsolationLinux

daemon/daemon_linux_test.go:179–184  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

177}
178
179func TestValidateContainerIsolationLinux(t *testing.T) {
180 d := Daemon{}
181
182 _, err := d.verifyContainerSettings(&configStore{}, &containertypes.HostConfig{Isolation: containertypes.IsolationHyperV}, nil, false)
183 assert.Check(t, is.Error(err, "invalid isolation 'hyperv' on linux"))
184}
185
186func TestShouldUnmountRoot(t *testing.T) {
187 for _, test := range []struct {

Callers

nothing calls this directly

Calls 3

CheckMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…