RFR: 8301169: java/net/httpclient/ThrowingSubscribersAsInputStream.java, ThrowingSubscribersAsInputStreamAsync.java, and other httpclient tests failing on windows: Unable to establish loopback connection [v2]
Daniel Jeliński
djelinski at openjdk.org
Tue Apr 25 15:17:08 UTC 2023
On Tue, 25 Apr 2023 15:12:47 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> The HttpClient Throwing* tests are creating a lot of HttpClient instances and have been observed failing on Windows from time to time with the error: Unable to establish loopback connection.
>>
>> To try and mitigate the issue here is a change that will wait for the previous client to be GC'ed before creating the new one. Hopefully that should reduce the cases where these tests fail due to resource exhaustion.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
>
> Added comments
LGTM.
-------------
Marked as reviewed by djelinski (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13644#pullrequestreview-1400151115
More information about the net-dev
mailing list