d8tltanc commented on a change in pull request #8683:
URL: https://github.com/apache/kafka/pull/8683#discussion_r445054383



##########
File path: 
clients/src/test/java/org/apache/kafka/clients/ClusterConnectionStatesTest.java
##########
@@ -40,7 +40,12 @@
     private final MockTime time = new MockTime();
     private final long reconnectBackoffMs = 10 * 1000;
     private final long reconnectBackoffMax = 60 * 1000;
-    private final double reconnectBackoffJitter = 0.2;
+    private final long connectionSetupTimeoutMs = 10 * 1000;
+    private final long connectionSetupTimeoutMaxMs = 127 * 1000;
+    private final static int RECONNECT_BACKOFF_EXP_BASE = 2;
+    private final static double RECONNECT_BACKOFF_JITTER = 0.2;
+    private final static int CONNECTION_SETUP_TIMEOUT_EXP_BASE = 2;
+    private final static double CONNECTION_SETUP_TIMEOUT_JITTER = 0.2;

Review comment:
       Make sense. I've made them package-private and lower-cased the constants.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to