RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use" [v2]

Bradford Wetmore wetmore at openjdk.org
Tue May 28 16:34:13 UTC 2024


On Thu, 23 May 2024 09:11:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> This is one of these tests that is not really fixable if any other process that might open a socket runs concurrently with it on the same machine: nothing can guarantee that if you open a socket, close it, then open a new socket on the same port, that port will still be free. It might work most of the time, but success can’t be guaranteed.
>> 
>> The only thing we can do in order to attempt to minimize noisy intermittent failures is retry the whole test if a BindException is thrown.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update Copyright years

My mistake, I thought the test was trying to rebind to the same port on each run, rather than trying the entire test again on different server ports.  I withdraw my comment.

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

PR Comment: https://git.openjdk.org/jdk/pull/19358#issuecomment-2135676070



More information about the security-dev mailing list