From a325ff142cd5822c3835c202e300a093d50768f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Tue, 10 Dec 2024 17:30:46 +0100 Subject: [PATCH] fix(test): do not run automatic WAL truncate during test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the 2 minute timeout as the default is 2 hours and wouldn't interfere. With the test. Otherwise the extra samples combined with race detection can push the test over 2 minutes and make it fail. Signed-off-by: György Krajcsovits --- tsdb/agent/db_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tsdb/agent/db_test.go b/tsdb/agent/db_test.go index 0840cebe5c..0238a8e140 100644 --- a/tsdb/agent/db_test.go +++ b/tsdb/agent/db_test.go @@ -488,7 +488,6 @@ func TestPartialTruncateWAL(t *testing.T) { ) opts := DefaultOptions() - opts.TruncateFrequency = time.Minute * 2 reg := prometheus.NewRegistry() s := createTestAgentDB(t, reg, opts)