RFR: 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Brian Burkhalter
bpb at openjdk.org
Wed Jul 31 17:58:32 UTC 2024
On Wed, 31 Jul 2024 08:14:36 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Also it usually a bit easier to see durations presented in millis, look at the tests that use expectDuration for examples.
In [8914f7](https://github.com/openjdk/jdk/pull/20398/commits/e8914f7546e53d0c49b3ea4722038abfe3582551) I copied `expectDuration()` from `SelectorOps` and modified accordingly. If this looks reasonable, then `expectDuration()` should probably be factored out into a test library.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20398#issuecomment-2261057265
More information about the nio-dev
mailing list