MCPcopy
hub / github.com/google/cadvisor / TestStorageDirDetectionWithOldVersions

Function TestStorageDirDetectionWithOldVersions

container/docker/handler_test.go:45–50  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

43}
44
45func TestStorageDirDetectionWithOldVersions(t *testing.T) {
46 as := assert.New(t)
47 rwLayer, err := getRwLayerID("abcd", "/", AufsStorageDriver, []int{1, 9, 0})
48 as.Nil(err)
49 as.Equal(rwLayer, "abcd")
50}
51
52func TestStorageDirDetectionWithNewVersions(t *testing.T) {
53 as := assert.New(t)

Callers

nothing calls this directly

Calls 1

getRwLayerIDFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…