RFR for JDK-8031666: TEST_BUG: java/net/ipv6tests/UdpTest.java failed because of SocketTimeoutException
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 17 03:24:03 PST 2014
On 17/01/2014 10:39, Tristan Yan wrote:
> Agree, reset timeout should be better move
> http://cr.openjdk.java.net/~tyan/JDK-8031666/webrev.01/
> Thank you
> Tristan
>
This looks okay but I just wonder if we also need to adjust the
tolerance in checkTime. As I read it then it checks allows for +/- 50%,
which in this case is 1000-3000ms. I just wonder if 3 seconds is enough
given some of the extreme environment that these tests are expected to
run in. Also the test doesn't look at the package contents and so the
receive will complete if it receives anything. Maybe not for this fix
but I assume the test should check that the expected packet is received.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20140117/97e60ad9/attachment.html
More information about the net-dev
mailing list