Skip to content

Commit

Permalink
De-flake TestNRGUnsuccessfulVoteRequestDoesntResetElectionTimer (#5706
Browse files Browse the repository at this point in the history
)

Signed-off-by: Neil Twigg <neil@nats.io>
  • Loading branch information
derekcollison authored Jul 27, 2024
2 parents 4699070 + 363bd19 commit eedd412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/raft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eedd412

Please sign in to comment.