fix: misspelled words (#342)

This commit is contained in:
李素晴 2021-12-13 11:07:05 +08:00 committed by GitHub
parent 3712dea6b9
commit e4cdc05319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -743,7 +743,7 @@ func TestLeaderSyncFollowerLog2AB(t *testing.T) {
n := newNetwork(lead, follower, nopStepper)
n.send(pb.Message{From: 1, To: 1, MsgType: pb.MessageType_MsgHup})
// The election occurs in the term after the one we loaded with
// lead's term and commited index setted up above.
// lead's term and committed index setted up above.
n.send(pb.Message{From: 3, To: 1, MsgType: pb.MessageType_MsgRequestVoteResponse, Term: term + 1})
n.send(pb.Message{From: 1, To: 1, MsgType: pb.MessageType_MsgPropose, Entries: []*pb.Entry{{}}})