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

Bradford Wetmore wetmore at openjdk.org
Tue May 28 01:49:06 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

It's too late now, but I might have suggested a short sleep between attempts.  

Otherwise looks ok.  

(Original test author)

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

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



More information about the security-dev mailing list