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

Function TestCompleteBlock

tempodb/tempodb_test.go:570–579  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

568}
569
570func TestCompleteBlock(t *testing.T) {
571 for _, from := range encoding.AllEncodingsForWrites() {
572 for _, to := range encoding.AllEncodingsForWrites() {
573 t.Run(fmt.Sprintf("%s->%s", from.Version(), to.Version()), func(t *testing.T) {
574 t.Parallel()
575 testCompleteBlock(t, from.Version(), to.Version())
576 })
577 }
578 }
579}
580
581func testCompleteBlock(t *testing.T, from, to string) {
582 _, w, _, _ := testConfig(t, time.Minute, func(c *Config) {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected