ijuma commented on a change in pull request #11296:
URL: https://github.com/apache/kafka/pull/11296#discussion_r702529338
##########
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:
Yes. I removed this method in the latest commit, but used `OptionalInt`
instead of `Optional<Integer>` in `MockableRandom`.
--
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]