MCPcopy Index your code
hub / github.com/docker/docker-agent / TestBuildAgentCache_inMemory

Function TestBuildAgentCache_inMemory

pkg/teamloader/cache_test.go:31–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29}
30
31func TestBuildAgentCache_inMemory(t *testing.T) {
32 t.Parallel()
33 c, err := buildAgentCache("agent", &latest.CacheConfig{Enabled: true}, t.TempDir())
34 require.NoError(t, err)
35 require.NotNil(t, c)
36}
37
38func TestBuildAgentCache_relativePath(t *testing.T) {
39 t.Parallel()

Callers

nothing calls this directly

Calls 1

buildAgentCacheFunction · 0.85

Tested by

no test coverage detected