Integrated: 8259628: jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermittently

Patrick Concannon pconcannon at openjdk.java.net
Thu Jan 28 15:05:05 UTC 2021


On Wed, 20 Jan 2021 11:52:17 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:

> Hi,
> 
> Could someone please review my fix for JDK-8259628: '`jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java` fails intermittently' ?
> 
> `AsynchronousSocketChannelNAPITest` is failing intermittently on Linux due to a race condition caused by not correctly waiting for the result of an asynchronous operation. This fix rectifies this issue and adds additional checks to ensure correct result is received.
> 
> Kind regards,
> Patrick

This pull request has now been integrated.

Changeset: 13ca433f
Author:    Patrick Concannon <pconcannon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/13ca433f
Stats:     9 lines in 1 file changed: 4 ins; 3 del; 2 mod

8259628: jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermittently

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.java.net/jdk/pull/2162


More information about the net-dev mailing list