mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-25 20:30:30 +08:00
Fix typo in TestLogReplication2AB (#402)
This commit is contained in:
parent
5647091ed4
commit
a18721123f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user