(t *testing.T)
| 16 | ) |
| 17 | |
| 18 | func TestMemcached(t *testing.T) { |
| 19 | t.Run("unbatched", func(t *testing.T) { |
| 20 | client := newMockMemcache() |
| 21 | memcache := cache.NewMemcached(cache.MemcachedConfig{}, client, |
| 22 | "test", 0, nil, log.NewNopLogger()) |
| 23 | |
| 24 | testMemcache(t, memcache) |
| 25 | }) |
| 26 | } |
| 27 | |
| 28 | func testMemcache(t *testing.T, memcache *cache.Memcached) { |
| 29 | numKeys := 1000 |
nothing calls this directly
no test coverage detected