zentol commented on code in PR #22471:
URL: https://github.com/apache/flink/pull/22471#discussion_r1175040702


##########
flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/network/ClientTest.java:
##########
@@ -257,33 +244,33 @@ public void testRequestUnavailableHost() throws Exception 
{
         try {
             client = new Client<>("Test Client", 1, serializer, stats);
 
-            InetSocketAddress serverAddress = new 
InetSocketAddress(InetAddress.getLocalHost(), 0);
+            InetSocketAddress serverAddress =
+                    new InetSocketAddress(
+                            InetAddress.getLocalHost(), 
NetUtils.getAvailablePort().getPort());

Review Comment:
   What makes you believe that this is more stable?



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

Reply via email to