This is an automated email from the ASF dual-hosted git repository.

guoweijie pushed a commit to branch release-1.17
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.17 by this push:
     new 704076a3602 [FLINK-31298] fix 
ConnectionUtilsTest.testFindConnectingAddressWhenGetLocalHostThrows swallows 
IllegalArgumentException
704076a3602 is described below

commit 704076a36024d521957e4e2f31820bbad7a102b3
Author: Wencong Liu <[email protected]>
AuthorDate: Mon Mar 6 22:08:34 2023 +0800

    [FLINK-31298] fix 
ConnectionUtilsTest.testFindConnectingAddressWhenGetLocalHostThrows swallows 
IllegalArgumentException
---
 .../src/test/java/org/apache/flink/runtime/net/ConnectionUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/flink-runtime/src/test/java/org/apache/flink/runtime/net/ConnectionUtilsTest.java
 
b/flink-runtime/src/test/java/org/apache/flink/runtime/net/ConnectionUtilsTest.java
index 22655ec274a..401b3ef06db 100644
--- 
a/flink-runtime/src/test/java/org/apache/flink/runtime/net/ConnectionUtilsTest.java
+++ 
b/flink-runtime/src/test/java/org/apache/flink/runtime/net/ConnectionUtilsTest.java
@@ -73,7 +73,7 @@ public class ConnectionUtilsTest {
         Thread socketServerThread;
         try (ServerSocket socket = new ServerSocket(0, 1, loopbackAddress)) {
             // Make sure that the thread will eventually die even if something 
else goes wrong
-            socket.setSoTimeout(10_000);
+            socket.setSoTimeout(0);
             socketServerThread =
                     new Thread(
                             new Runnable() {

Reply via email to