From 2f312ff4c54625081ab791e4ab556aefa2b4cdaa Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 15 Oct 2021 12:23:48 +0200 Subject: [PATCH] tsdb: mark TestTombstoneCleanRetentionLimitsRace test as slow It takes over 100 seconds to execute this test, so I'd consider it as slow. Signed-off-by: Mateusz Gozdek --- tsdb/db_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tsdb/db_test.go b/tsdb/db_test.go index 6120e896b..d4f134b77 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -1202,6 +1202,10 @@ func TestTombstoneCleanFail(t *testing.T) { // and retention limit policies, when triggered at the same time, // won't race against each other. func TestTombstoneCleanRetentionLimitsRace(t *testing.T) { + if testing.Short() { + t.Skip("skipping test in short mode.") + } + opts := DefaultOptions() var wg sync.WaitGroup