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 02:17:46 PST 2014


On 17/01/2014 05:40, Tristan Yan wrote:
> Hi All
>
> Please review the simple code fix for JDK-8031666.
>
> http://cr.openjdk.java.net/~tyan/JDK-8031666/webrev.00/
>
> This test fails in very small chance. Adding socket timeout a little 
> bigger.
Looking at JDK-8031666 then the failure seems to be with the runAfter + 
receive at end of test2. So I wonder have you the right issue number? In 
the webrev then you've increased the timeout for tests that expect to 
timeout (so I assume making the timeout longer just makes the test take 
longer).

As regards the runAfter + receive at the end then maybe the issue is 
that the runner thread was just slow to start, causing it to take more 
than 3 seconds (which I think is tolerance of 2s in checkTime).

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20140117/29611925/attachment.html 


More information about the net-dev mailing list