MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / TestAPIVersionWithCache

Function TestAPIVersionWithCache

core/docker_service_test.go:193–200  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

191}
192
193func TestAPIVersionWithCache(t *testing.T) {
194 ds, _, _ := newTestDockerServiceWithVersionCache()
195
196 expected := &semver.Version{Major: 1, Minor: 23, Patch: 0}
197 version, err := ds.getDockerAPIVersion()
198 require.NoError(t, err)
199 assert.Equal(t, expected, version)
200}

Callers

nothing calls this directly

Calls 2

getDockerAPIVersionMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…