Skip to content

Commit

Permalink
Update generatedelaytest to try with limit values
Browse files Browse the repository at this point in the history
Signed-off-by: Alban HURTAUD <[email protected]>
  • Loading branch information
ahurtaud committed Oct 22, 2024
1 parent 0867d3c commit b62fcf5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tsdb/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8848,12 +8848,19 @@ func TestGenerateCompactionDelay(t *testing.T) {
cases := []struct {
compactionDelayPercent int
}{

{
compactionDelayPercent: 0,
},
{
compactionDelayPercent: 10,
},
{
compactionDelayPercent: 60,
},
{
compactionDelayPercent: 100,
},
}

opts.EnableDelayedCompaction = true
Expand Down

0 comments on commit b62fcf5

Please sign in to comment.