Merge pull request #14101 from serathius/fix-merge

server: Fix broken code during merge
This commit is contained in:
Benjamin Wang 2022-06-09 20:25:27 +08:00 committed by GitHub
commit 05e4a5ad23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ func TestPeriodicSkipRevNotChange(t *testing.T) {
fc := clockwork.NewFakeClock()
rg := &fakeRevGetter{testutil.NewRecorderStreamWithWaitTimout(10 * time.Millisecond), 0}
compactable := &fakeCompactable{testutil.NewRecorderStreamWithWaitTimout(10 * time.Millisecond)}
tb := newPeriodic(zap.NewExample(), fc, retentionDuration, rg, compactable)
tb := newPeriodic(zaptest.NewLogger(t), fc, retentionDuration, rg, compactable)
tb.Run()
defer tb.Stop()