Skip to content

Commit

Permalink
fix(v3compactor): flaky TestPeriodicSkipRevNotChange test by increasi…
Browse files Browse the repository at this point in the history
…ng timeout

Signed-off-by: Thomas Gosteli <[email protected]>
  • Loading branch information
ghouscht committed Oct 2, 2024
1 parent 2c97110 commit 4284a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/etcdserver/api/v3compactor/periodic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func TestPeriodicSkipRevNotChange(t *testing.T) {

fc := clockwork.NewFakeClock()
rg := &fakeRevGetter{testutil.NewRecorderStreamWithWaitTimout(0), 0}
compactable := &fakeCompactable{testutil.NewRecorderStreamWithWaitTimout(10 * time.Millisecond)}
compactable := &fakeCompactable{testutil.NewRecorderStreamWithWaitTimout(20 * time.Millisecond)}
tb := newPeriodic(zaptest.NewLogger(t), fc, retentionDuration, rg, compactable)

tb.Run()
Expand Down

0 comments on commit 4284a71

Please sign in to comment.