Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
justin0u0 committed May 31, 2022
1 parent 3cc2e4f commit d35f062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raft/raft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func TestCannotCommitLogIfTermMismatch(t *testing.T) {
time.Sleep(1 * time.Second)
leaderId, leaderTerm := c.checkSingleLeader()
if newLeaderId != leaderId || newLeaderTerm != leaderTerm {
t.Fatal("new leader should not be affected when the old leader com")
t.Fatal("new leader should not be affected when the old leader come back")
}

// we disconnect all outgoing RPCs to all servers except the old leader
Expand Down

0 comments on commit d35f062

Please sign in to comment.