MCPcopy
hub / github.com/containerd/containerd / TestCreateContainerWithoutMetadata

Function TestCreateContainerWithoutMetadata

integration/no_metadata_test.go:34–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

32}
33
34func TestCreateContainerWithoutMetadata(t *testing.T) {
35 sb, sbConfig := PodSandboxConfigWithCleanup(t, "sandbox", "container-create")
36 config := &runtime.ContainerConfig{}
37 _, err := runtimeService.CreateContainer(sb, config, sbConfig)
38 require.Error(t, err)
39 _, err = runtimeService.Status()
40 require.NoError(t, err)
41}

Callers

nothing calls this directly

Calls 4

CreateContainerMethod · 0.65
StatusMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…