Skip to content

Commit 951fc96

Browse files
authored
Merge pull request #18668 from ghouscht/issue-17487
fix(v3compactor): flaky TestPeriodicSkipRevNotChange test by increasing timeout
2 parents 3cc3341 + 4284a71 commit 951fc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/etcdserver/api/v3compactor/periodic_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func TestPeriodicSkipRevNotChange(t *testing.T) {
180180

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

186186
tb.Run()

0 commit comments

Comments
 (0)