mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-03-15 20:31:03 +08:00
fix typo in raft/raft_test.go (#314)
This commit is contained in:
parent
07d420b75e
commit
de31fb1e51
@ -370,7 +370,7 @@ func TestCommitWithHeartbeat2AB(t *testing.T) {
|
||||
// network recovery
|
||||
tt.recover()
|
||||
|
||||
// leader broadcast heartbeeat
|
||||
// leader broadcast heartbeat
|
||||
tt.send(pb.Message{From: 1, To: 1, MsgType: pb.MessageType_MsgBeat})
|
||||
|
||||
if sm.RaftLog.committed != 3 {
|
||||
|
Loading…
Reference in New Issue
Block a user