MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / getRedisCache

Function getRedisCache

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

Source from the content-addressed store, hash-verified

66 return redisCache, s
67}
68func getRedisCache(t *testing.T) *redisCache {
69 redisCache, _ := getRedisCacheAndServer(t)
70 return redisCache
71}
72
73func TestRedisCacheAddGet(t *testing.T) {
74 c := getRedisCache(t)

Callers 6

TestCacheSizeFunction · 0.85
TestRedisCacheAddGetFunction · 0.85
TestRedisCacheMissFunction · 0.85
TestStringFromToByteFunction · 0.85
TestMetadataFromToByteFunction · 0.85

Calls 1

getRedisCacheAndServerFunction · 0.85

Tested by

no test coverage detected