changeset 59131:d48638a26026

8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10 Reviewed-by: alanb
author michaelm
date Tue, 03 Dec 2019 11:55:47 +0000
parents de99f7acea70
children 721dc0c243e7
files test/jdk/java/net/Socket/Timeouts.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/net/Socket/Timeouts.java	Tue Dec 03 12:41:45 2019 +0100
+++ b/test/jdk/java/net/Socket/Timeouts.java	Tue Dec 03 11:55:47 2019 +0000
@@ -74,7 +74,7 @@
         try (Socket s = new Socket()) {
             SocketAddress remote = Utils.refusingEndpoint();
             try {
-                s.connect(remote, 2000);
+                s.connect(remote, 10000);
             } catch (ConnectException expected) { }
         }
     }