Skip to content

Commit a2fad13

Browse files
8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
Reviewed-by: alanb
1 parent 6864634 commit a2fad13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/java/net/Socket/Timeouts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void testTimedConnect2() throws IOException {
7474
try (Socket s = new Socket()) {
7575
SocketAddress remote = Utils.refusingEndpoint();
7676
try {
77-
s.connect(remote, 2000);
77+
s.connect(remote, 10000);
7878
} catch (ConnectException expected) { }
7979
}
8080
}

0 commit comments

Comments
 (0)