Fix typo in TestLogReplication2AB (#402)

This commit is contained in:
xhnhill 2022-06-30 14:36:47 +10:00 committed by GitHub
parent 5647091ed4
commit a18721123f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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