ahuang98 commented on code in PR #19747:
URL: https://github.com/apache/kafka/pull/19747#discussion_r2096117078
##########
raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientTest.java:
##########
@@ -1775,15 +1770,15 @@ public void
testCandidateIgnoreVoteRequestOnSameEpoch(boolean withKip853Rpc) thr
@ParameterizedTest
@ValueSource(booleans = { true, false })
- public void testCandidateBackoffElection(boolean withKip853Rpc) throws
Exception {
+ public void
testCandidateWaitsRestOfElectionTimeoutAfterElectionLoss(boolean withKip853Rpc)
throws Exception {
int localId = randomReplicaId();
int otherNodeId = localId + 1;
int epoch = 1;
- int exponentialFactor = 85; // set it large enough so that replica
will bound on jitter
+ int jitter = 85; // set it large enough so that replica will bound on
jitter
Review Comment:
comment no longer applicable, will remove
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]