mirror of
https://github.com/prometheus/prometheus
synced 2025-03-25 04:36:53 +00:00
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:
parent
07276aeece
commit
a325ff142c
@ -488,7 +488,6 @@ func TestPartialTruncateWAL(t *testing.T) {
|
||||
)
|
||||
|
||||
opts := DefaultOptions()
|
||||
opts.TruncateFrequency = time.Minute * 2
|
||||
|
||||
reg := prometheus.NewRegistry()
|
||||
s := createTestAgentDB(t, reg, opts)
|
||||
|
Loading…
Reference in New Issue
Block a user