MCPcopy
hub / github.com/containerd/containerd / TestMountManager

Function TestMountManager

integration/client/mount_manager_linux_test.go:48–64  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46)
47
48func TestMountManager(t *testing.T) {
49 client, err := newClient(t, address)
50 require.NoError(t, err)
51 defer client.Close()
52
53 var (
54 ctx, cancel = testContext(t)
55 )
56 defer cancel()
57
58 // Test MountManager functionality
59 mounts, err := client.MountManager().List(ctx)
60 require.NoError(t, err)
61
62 assert.Empty(t, mounts, "Mounts should be empty")
63
64}
65
66func TestMountAtRuntime(t *testing.T) {
67 client, err := newClient(t, address)

Callers

nothing calls this directly

Calls 5

newClientFunction · 0.85
testContextFunction · 0.85
MountManagerMethod · 0.80
CloseMethod · 0.65
ListMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…