Integrated: 8334928: Test sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed: java.net.BindException: Address already in use

Neha Joshi duke at openjdk.org
Wed Nov 26 06:19:02 UTC 2025


On Fri, 7 Nov 2025 14:39:14 GMT, Neha Joshi <duke at openjdk.org> wrote:

> This tests is not fixable and reproducible. The only thing we can do in order to minimize intermittent failures is increasing the retry count and adding a thread.sleep() before retrying.
> 
> **Reason for adding the Thread.sleep()** 
> This issue is happening under load and other tests might take the port, as there is no visibility between tests. Sleep should increase the chances of these tests releasing the port.
> 
> Old PR link for the reference :- https://github.com/openjdk/jdk/pull/19358

This pull request has now been integrated.

Changeset: cdf5fbed
Author:    Neha Joshi <neha.j.joshi at oracle.com>
Committer: SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cdf5fbed9bd8366e4ee9ab9cb538db88d7bcc7c0
Stats:     5 lines in 2 files changed: 3 ins; 0 del; 2 mod

8334928: Test sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed: java.net.BindException: Address already in use

Reviewed-by: rhalade

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

PR: https://git.openjdk.org/jdk/pull/28198


More information about the security-dev mailing list