MCPcopy
hub / github.com/grafana/dskit / TestMemcachedClient_Name

Function TestMemcachedClient_Name

cache/memcached_client_test.go:347–351  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

345}
346
347func TestMemcachedClient_Name(t *testing.T) {
348 client, _, err := setupDefaultMemcachedClient()
349 require.NoError(t, err)
350 require.Equal(t, "test", client.Name())
351}
352
353func BenchmarkMemcachedClient_sortKeysByServer(b *testing.B) {
354 mockSelector := &mockServerSelector{

Callers

nothing calls this directly

Calls 3

NameMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected