Integrated: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Daniel Fuchs
dfuchs at openjdk.org
Fri May 24 12:45:05 UTC 2024
On Thu, 23 May 2024 08:42:00 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.
This pull request has now been integrated.
Changeset: 6a353114
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6a35311468222f9335b43d548df2ecb80746b389
Stats: 20 lines in 1 file changed: 18 ins; 0 del; 2 mod
8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Reviewed-by: jpai, mullan
-------------
PR: https://git.openjdk.org/jdk/pull/19358
More information about the security-dev
mailing list