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

Function TestCompactWithConfig

tempodb/compactor_test.go:774–781  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

772}
773
774func TestCompactWithConfig(t *testing.T) {
775 for _, enc := range encoding.AllEncodingsForWrites() {
776 t.Run(enc.Version(), func(t *testing.T) {
777 t.Parallel()
778 testCompactWithConfig(t, enc.Version())
779 })
780 }
781}
782
783func testCompactWithConfig(t *testing.T, targetBlockVersion string) {
784 tempDir := t.TempDir()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected