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

Function TestKeyPathForBlock

tempodb/backend/raw_test.go:155–161  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

153}
154
155func TestKeyPathForBlock(t *testing.T) {
156 b := uuid.New()
157 tid := tenantID
158 keypath := KeyPathForBlock(b, tid)
159
160 assert.Equal(t, KeyPath([]string{tid, b.String()}), keypath)
161}
162
163func TestMetaFileName(t *testing.T) {
164 // WithoutPrefix

Callers

nothing calls this directly

Calls 4

KeyPathForBlockFunction · 0.85
KeyPathTypeAlias · 0.85
EqualMethod · 0.45
StringMethod · 0.45

Tested by

no test coverage detected