mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
commit
b71a641c93
@ -1546,7 +1546,6 @@ func testRecvMsgVote(t *testing.T, msgType pb.MessageType) {
|
|||||||
msgs := sm.readMessages()
|
msgs := sm.readMessages()
|
||||||
if g := len(msgs); g != 1 {
|
if g := len(msgs); g != 1 {
|
||||||
t.Fatalf("#%d: len(msgs) = %d, want 1", i, g)
|
t.Fatalf("#%d: len(msgs) = %d, want 1", i, g)
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
if g := msgs[0].Type; g != voteRespMsgType(msgType) {
|
if g := msgs[0].Type; g != voteRespMsgType(msgType) {
|
||||||
t.Errorf("#%d, m.Type = %v, want %v", i, g, voteRespMsgType(msgType))
|
t.Errorf("#%d, m.Type = %v, want %v", i, g, voteRespMsgType(msgType))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user