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

Function TestFindByTraceID

tempodb/wal/wal_test.go:137–144  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

135}
136
137func TestFindByTraceID(t *testing.T) {
138 for _, e := range encoding.AllEncodingsForWrites() {
139 t.Run(e.Version(), func(t *testing.T) {
140 t.Parallel()
141 testFindByTraceID(t, e)
142 })
143 }
144}
145
146func testFindByTraceID(t *testing.T, e encoding.VersionedEncoding) {
147 f := func(ids [][]byte, objs []*tempopb.Trace, block common.WALBlock) {

Callers

nothing calls this directly

Calls 4

AllEncodingsForWritesFunction · 0.92
testFindByTraceIDFunction · 0.85
VersionMethod · 0.65
RunMethod · 0.45

Tested by

no test coverage detected