diff --git a/server/etcdserver/server_test.go b/server/etcdserver/server_test.go index 2d9b5ce4d911..7b9459429768 100644 --- a/server/etcdserver/server_test.go +++ b/server/etcdserver/server_test.go @@ -1832,6 +1832,10 @@ func (n *nodeRecorder) Compact(index uint64, nodes []uint64, d []byte) { n.Record(testutil.Action{Name: "Compact"}) } +func (n *nodeRecorder) ForgetLeader(ctx context.Context) error { + return nil +} + type nodeProposalBlockerRecorder struct { nodeRecorder }