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

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()