Skip to content

Commit

Permalink
Merge pull request #18668 from ghouscht/issue-17487
Browse files Browse the repository at this point in the history
fix(v3compactor): flaky TestPeriodicSkipRevNotChange test by increasing timeout
  • Loading branch information
serathius authored Oct 3, 2024
2 parents 3cc3341 + 4284a71 commit 951fc96
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 951fc96

Please sign in to comment.