Skip to content

Commit a6ee356

Browse files
committed
8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
Backport-of: a2fad13
1 parent 23c3845 commit a6ee356

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
@@ -68,7 +68,7 @@ public void testTimedConnect2() throws IOException {
6868
try (Socket s = new Socket()) {
6969
SocketAddress remote = Utils.refusingEndpoint();
7070
try {
71-
s.connect(remote, 2000);
71+
s.connect(remote, 10000);
7272
} catch (ConnectException expected) { }
7373
}
7474
}

0 commit comments

Comments
 (0)