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

Function TestFetch

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

Source from the content-addressed store, hash-verified

248}
249
250func TestFetch(t *testing.T) {
251 for _, e := range encoding.AllEncodingsForWrites() {
252 t.Run(e.Version(), func(t *testing.T) {
253 t.Parallel()
254 testFetch(t, e)
255 })
256 }
257}
258
259func testFetch(t *testing.T, e encoding.VersionedEncoding) {
260 runWALTest(t, e.Version(), func(ids [][]byte, objs []*tempopb.Trace, block common.WALBlock) {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected