test: implement method ForgetLeader for struct nodeRecorder
Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
@ -1832,6 +1832,10 @@ func (n *nodeRecorder) Compact(index uint64, nodes []uint64, d []byte) {
|
|||||||
n.Record(testutil.Action{Name: "Compact"})
|
n.Record(testutil.Action{Name: "Compact"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (n *nodeRecorder) ForgetLeader(ctx context.Context) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type nodeProposalBlockerRecorder struct {
|
type nodeProposalBlockerRecorder struct {
|
||||||
nodeRecorder
|
nodeRecorder
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user