ahuang98 commented on code in PR #19658: URL: https://github.com/apache/kafka/pull/19658#discussion_r2082550000
########## raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientTest.java: ########## @@ -4569,6 +4574,55 @@ public void testObserverFetchWithNoLocalId(boolean withKip853Rpc) throws Excepti assertEquals(3, context.log.lastFetchedEpoch()); } + @Test + public void testExponentialElectionBackoffMs() { Review Comment: I chose not to thinking it would overcomplicate the if else conditions based on the number of retries. Let me split this up into two tests actually. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org