test: implement method ForgetLeader for struct nodeRecorder

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang 2023-10-24 10:19:13 +01:00
parent ae60b5567a
commit 34382006db

View File

@ -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
}