MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / TestRedisCacheAddGet

Function TestRedisCacheAddGet

cache/redis_cache_test.go:73–79  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestRedisCacheAddGet(t *testing.T) {
74 c := getRedisCache(t)
75 defer func() {
76 c.Close()
77 }()
78 cacheAddGetHelper(t, c)
79}
80
81func TestRedisCacheMiss(t *testing.T) {
82 c := getRedisCache(t)

Callers

nothing calls this directly

Calls 3

getRedisCacheFunction · 0.85
cacheAddGetHelperFunction · 0.85
CloseMethod · 0.45

Tested by

no test coverage detected