From 8a02ae58d4be73bcdfc7f9f155385bc4a82a930e Mon Sep 17 00:00:00 2001 From: Carrie Edwards Date: Thu, 12 Mar 2026 12:20:24 -0700 Subject: [PATCH] Fix tests Signed-off-by: Carrie Edwards --- tsdb/db_append_v2_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tsdb/db_append_v2_test.go b/tsdb/db_append_v2_test.go index 149331b438..5914cbcf97 100644 --- a/tsdb/db_append_v2_test.go +++ b/tsdb/db_append_v2_test.go @@ -7514,8 +7514,9 @@ func TestCompactHeadWithSTStorage_AppendV2(t *testing.T) { NoLockfile: true, MinBlockDuration: int64(time.Hour * 2 / time.Millisecond), MaxBlockDuration: int64(time.Hour * 2 / time.Millisecond), - WALCompression: compression.Snappy, - EnableSTStorage: true, + WALCompression: compression.Snappy, + EnableSTStorage: true, + EnableXOR2Encoding: true, } db := newTestDB(t, withOpts(opts)) ctx := context.Background() @@ -7654,6 +7655,7 @@ func TestDBAppenderV2_STStorage_OutOfOrder(t *testing.T) { opts := DefaultOptions() opts.OutOfOrderTimeWindow = 300 * time.Minute.Milliseconds() opts.EnableSTStorage = true + opts.EnableXOR2Encoding = true db := newTestDB(t, withOpts(opts)) db.DisableCompactions()