ijuma commented on a change in pull request #11296:
URL: https://github.com/apache/kafka/pull/11296#discussion_r702919129
##########
File path: raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientTest.java
##########
@@ -2799,4 +2779,11 @@ public void testObserverFetchWithNoLocalId() throws
Exception {
private static KafkaMetric getMetric(final Metrics metrics, final String
name) {
return metrics.metrics().get(metrics.metricName(name, "raft-metrics"));
}
+
+ private static Optional<Integer> return0IfBoundEqualsElectionTimeout(int
bound) {
Review comment:
Suggestions for improvement are always welcome. :)
--
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]