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

Function TestRetainWithConfig

tempodb/retention_test.go:266–272  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

264}
265
266func TestRetainWithConfig(t *testing.T) {
267 for _, enc := range encoding.AllEncodingsForWrites() {
268 t.Run(enc.Version(), func(t *testing.T) {
269 testRetainWithConfig(t, enc.Version())
270 })
271 }
272}
273
274func testRetainWithConfig(t *testing.T, targetBlockVersion string) {
275 tempDir := t.TempDir()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected