mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #8485 from irfansharif/TestRecvMsgPreVote
raft: (re-)introduce TestRecvMsgPreVote
This commit is contained in:
@@ -1361,6 +1361,10 @@ func TestRecvMsgVote(t *testing.T) {
|
||||
testRecvMsgVote(t, pb.MsgVote)
|
||||
}
|
||||
|
||||
func TestRecvMsgPreVote(t *testing.T) {
|
||||
testRecvMsgVote(t, pb.MsgPreVote)
|
||||
}
|
||||
|
||||
func testRecvMsgVote(t *testing.T, msgType pb.MessageType) {
|
||||
tests := []struct {
|
||||
state StateType
|
||||
|
||||
Reference in New Issue
Block a user