mirror of
https://github.com/talent-plan/tinykv.git
synced 2026-08-19 13:03:28 +08:00
Fix typo in TestLogReplication2AB (#402)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user