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

Function TestIndexUnmarshalErrors

tempodb/backend/tenantindex_test.go:103–107  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

101}
102
103func TestIndexUnmarshalErrors(t *testing.T) {
104 test := &TenantIndex{}
105 err := test.unmarshal([]byte("bad data"))
106 assert.Error(t, err)
107}

Callers

nothing calls this directly

Calls 2

unmarshalMethod · 0.95
ErrorMethod · 0.65

Tested by

no test coverage detected