lizhanhui commented on code in PR #5419:
URL: https://github.com/apache/rocketmq/pull/5419#discussion_r1009042047
##########
remoting/src/test/java/org/apache/rocketmq/remoting/TlsTest.java:
##########
@@ -152,7 +153,9 @@ else if
("noClientAuthFailure".equals(name.getMethodName())) {
remotingServer = RemotingServerTest.createRemotingServer();
remotingClient = RemotingServerTest.createRemotingClient(clientConfig);
- await().atMost(200, TimeUnit.MILLISECONDS).until(() ->
isHostConnectable(getServerAddress()));
+ await()
+ .pollDelay(Duration.ZERO)
Review Comment:
Hi echooymxq, I do not see why specifying poll delay to zero fixes the
issue, according to https://github.com/awaitility/awaitility/wiki/Usage#polling
By default, the non-fixed poll interval is 0 at the beginning.
Is there something I missed out?
--
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]