RFR: 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect"
Michael McMahon
michaelm at openjdk.org
Tue Dec 13 14:12:54 UTC 2022
On Tue, 13 Dec 2022 13:57:30 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestClient.java line 53:
>>
>>> 51: try {
>>> 52: Thread.sleep(500);
>>> 53: } catch (InterruptedException iex) {
>>
>> If it only fails rarely, would it be safer to delay a few seconds to allow more time for resources to be freed? Otherwise, the change looks fine to me.
>
> Good point. What delay would you recommend?
2-3 sec maybe
-------------
PR: https://git.openjdk.org/jdk/pull/11634
More information about the net-dev
mailing list