MCPcopy
hub / github.com/grafana/tempo / TestNilProvider

Function TestNilProvider

modules/frontend/pipeline/sync_handler_cache_test.go:17–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15)
16
17func TestNilProvider(t *testing.T) {
18 c := newFrontendCache(nil, cache.RoleFrontendSearch, log.NewNopLogger())
19 require.Nil(t, c)
20}
21
22func TestCacheCaches(t *testing.T) {
23 expected := &tempopb.SearchTagsResponse{

Callers

nothing calls this directly

Calls 1

newFrontendCacheFunction · 0.85

Tested by

no test coverage detected