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

Function TestSearch

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

Source from the content-addressed store, hash-verified

210}
211
212func TestSearch(t *testing.T) {
213 for _, e := range encoding.AllEncodingsForWrites() {
214 t.Run(e.Version(), func(t *testing.T) {
215 t.Parallel()
216 testSearch(t, e)
217 })
218 }
219}
220
221func testSearch(t *testing.T, e encoding.VersionedEncoding) {
222 runWALTest(t, e.Version(), func(ids [][]byte, objs []*tempopb.Trace, block common.WALBlock) {

Callers

nothing calls this directly

Calls 4

AllEncodingsForWritesFunction · 0.92
testSearchFunction · 0.70
VersionMethod · 0.65
RunMethod · 0.45

Tested by

no test coverage detected