diff --git a/tsdb/head_test.go b/tsdb/head_test.go index da08cb2847..ed447c5d50 100644 --- a/tsdb/head_test.go +++ b/tsdb/head_test.go @@ -5823,6 +5823,10 @@ func newUnsupportedChunk() *unsupportedChunk { return &unsupportedChunk{chunkenc.NewXORChunk()} } +func (*unsupportedChunk) Encoding() chunkenc.Encoding { + return EncUnsupportedXOR +} + // Tests https://github.com/prometheus/prometheus/issues/10277. func TestMmapPanicAfterMmapReplayCorruption(t *testing.T) { dir := t.TempDir()