RFR 8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10

Michael McMahon michael.x.mcmahon at oracle.com
Tue Dec 3 09:59:18 UTC 2019


Could I get the following two trivial test case fixes reviewed please?

They are both caused by a recent configuration change to Windows 10 
where socket connect
requests are attempted four times, at 500ms intervals, on connection 
refused errors,
which means that such connects will take around 2 seconds to return to 
the caller.

The two tests need to increase their timeout from 2 sec to 3 sec.

8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() 
fails on Windows 10
http://cr.openjdk.java.net/~michaelm/8234823/webrev.1/

8234823: java/nio/channels/SocketChannel/AdaptSocket.java fails on 
Windows 10
http://cr.openjdk.java.net/~michaelm/8234824/webrev.1/

There are links to the bug reports from the webrevs.

Thanks,

Michael.



More information about the net-dev mailing list