fix(test): do not run automatic WAL truncate during test

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 <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2024-12-10 17:30:46 +01:00
parent 07276aeece
commit a325ff142c

View File

@ -488,7 +488,6 @@ func TestPartialTruncateWAL(t *testing.T) {
)
opts := DefaultOptions()
opts.TruncateFrequency = time.Minute * 2
reg := prometheus.NewRegistry()
s := createTestAgentDB(t, reg, opts)