On Mon, 26 Jan 2026 10:48:13 GMT, Jaikiran Pai <[email protected]> wrote:

>> test/jdk/java/nio/channels/Selector/ConnectionRefusedMessage.java line 76:
>> 
>>> (failed to retrieve contents of file, check the PR for context)
>> I think the test will have to retry if "connected" returns true as it's too 
>> easy to have interference between tests on the same host.
>
> Hello Alan, do you mean there could be something that could be listening on 
> these "restricted" ports, after we ensured in `findSuitableRefusedAddress()` 
> that there wasn't anyone listening there?

Yes, I think I'd prefer if the test skipped if connected or retried.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29409#discussion_r2727164187

Reply via email to