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

Daniel Fuchs dfuchs at openjdk.org
Fri Oct 28 13:31:00 UTC 2022


On Fri, 28 Oct 2022 13:21:06 GMT, Darragh Clarke <duke at openjdk.org> wrote:

>>> Maybe change the send message to be completely unique to this test, there maybe other DatagramSocket or Channel tests that have message containing "Greetings"
>> 
>> Good point. Although it's the only one I could find that uses Datagrams. We could add a time stamp - or a UUID for extra security.
>
> I think even something as simple as changing the message to ``Greetings from SelectWhenRefused!`` makes it unique, though I could do a UUID too?

Good point too :-) `Greetings from SelectWhenRefused!` sounds fine to me. Also it will help identify the culprit if another test receives it! That's a good idea.

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

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


More information about the nio-dev mailing list