From 8e2169fc8d441d64721eb9c779e03bde41947b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Wed, 18 Feb 2026 13:17:35 +0100 Subject: [PATCH] fix(test): removed wrong function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: György Krajcsovits --- tsdb/head_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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()