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

Function TestNilOnUnknownTenantID

tempodb/tempodb_test.go:192–199  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

190}
191
192func TestNilOnUnknownTenantID(t *testing.T) {
193 r, _, _, _ := testConfig(t, 0)
194
195 buff, failedBlocks, err := r.Find(context.Background(), "unknown", []byte{0x01}, BlockIDMin, BlockIDMax, 0, 0, common.DefaultSearchOptions())
196 assert.Nil(t, buff)
197 assert.Nil(t, err)
198 assert.Nil(t, failedBlocks)
199}
200
201func TestBlockCleanup(t *testing.T) {
202 r, w, c, tempDir := testConfig(t, 0)

Callers

nothing calls this directly

Calls 3

DefaultSearchOptionsFunction · 0.92
testConfigFunction · 0.70
FindMethod · 0.65

Tested by

no test coverage detected