RFR: 8293696: java/nio/channels/DatagramChannel/SelectWhenRefused.java fails with "Unexpected wakeup" [v10]
Daniel Fuchs
dfuchs at openjdk.org
Tue Nov 8 16:48:35 UTC 2022
On Tue, 8 Nov 2022 16:22:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I see you've overhauled this test to be a JUnit test. If you are going that far then maybe it should go a bit further and have 3 test methods rather than having all tests in on test method. It just means setup/teardown is done 3 times, which is okay.
Does it actually make sense? I thought the purpose of this test was to test before connecting, while connected, and after disconnecting. If we split into three different `@TEST` methods there's no telling in which order they will be executed.
-------------
PR: https://git.openjdk.org/jdk/pull/10851
More information about the nio-dev
mailing list