RFR: 8293696: java/nio/channels/DatagramChannel/SelectWhenRefused.java fails with "Unexpected wakeup" [v2]

Daniel Fuchs dfuchs at openjdk.org
Thu Oct 27 18:07:31 UTC 2022


On Thu, 27 Oct 2022 16:28:29 GMT, Darragh Clarke <duke at openjdk.org> wrote:

>> Added logging to SelectWhenRefused for an intermittent failure caused by unexpected wakeups, this includes trying to receive data if there is any available to identify where it is coming from.
>> 
>> I also set the test to run in othervm mode which should reduce the chances of this failure happening in the first place.
>
> Darragh Clarke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added loop to retry in event of interruption from other tests

It's also interesting in that if other DC/DS tests are running in parallel on the same machine they could be reusing the refuser port, and they could receive the datagram we sent to the refuser, and that may make these other tests fail too!

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

PR: https://git.openjdk.org/jdk/pull/10851


More information about the nio-dev mailing list