RFR: 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out [v4]
Brian Burkhalter
bpb at openjdk.org
Wed May 29 23:44:01 UTC 2024
On Wed, 29 May 2024 23:35:05 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
>> I noted this in my introduction. It could be changed to OS port allocation, but it may lead to intermittent failures on macOS which is usually rectified by explicitly using loopback address to avoid some idiosyncratic port allocation.
>>
>> It is note, also, that the UDP port is hardcoded to one from the IANA reserve port range, but uses an unassigned port in that range.
>
> Not wildcard address, as it is already on wildcard but hardcoded port change to OS allocated ephemeral port
> Inadvertently it has been beneficial using the hard coded port number as it has avoided some of the intermittent ephemeral port issues experienced on macOS
That sounds fine then.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19312#discussion_r1619588114
More information about the nio-dev
mailing list