diff --git a/server/raft_test.go b/server/raft_test.go index 4baaaa85604..5a4884ee32b 100644 --- a/server/raft_test.go +++ b/server/raft_test.go @@ -463,7 +463,7 @@ func TestNRGUnsuccessfulVoteRequestDoesntResetElectionTimer(t *testing.T) { leaderOriginal := leader.etlr followerOriginal := follower.etlr vr := &voteRequest{ - term: follower.term, + term: follower.term - 1, lastTerm: follower.term - 1, lastIndex: 0, candidate: follower.id,