From a18721123fc52ba273b9d369905cab20937861d7 Mon Sep 17 00:00:00 2001 From: xhnhill <101444408+xhnhill@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:36:47 +1000 Subject: [PATCH] Fix typo in TestLogReplication2AB (#402) --- raft/raft_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/raft_test.go b/raft/raft_test.go index 732f65e6..38349d5e 100644 --- a/raft/raft_test.go +++ b/raft/raft_test.go @@ -264,7 +264,7 @@ func TestLogReplication2AB(t *testing.T) { newNetwork(nil, nil, nil), []pb.Message{ {From: 1, To: 1, MsgType: pb.MessageType_MsgPropose, Entries: []*pb.Entry{{Data: []byte("somedata")}}}, - {From: 1, To: 2, MsgType: pb.MessageType_MsgHup}, + {From: 2, To: 2, MsgType: pb.MessageType_MsgHup}, {From: 1, To: 2, MsgType: pb.MessageType_MsgPropose, Entries: []*pb.Entry{{Data: []byte("somedata")}}}, }, 4,