Integrated: 8266900: java/net/httpclient/ShortResponseBody.java fails on windows with java.io.IOException: Unable to establish loopback connection
Daniel Jeliński
djelinski at openjdk.org
Mon Oct 24 06:10:58 UTC 2022
On Thu, 20 Oct 2022 12:58:13 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> This PR reduces the number of requests performed by ShortResponseBody* tests from 570 to 100. It also reduces the number of httpclients created from one per request/URL to one per 10 requests. This in turn will translate to reduced frequency of failures caused by all ephemeral ports being in use.
>
> Before this patch each test URL was repeated 12 times: 3 times with a dedicated client, then 3 more times with a client shared across all requests, repeated for sync and async.
> After this patch each test URL is checked only 2 times, once with sync and once with async call.
>
> The tests continue to pass.
This pull request has now been integrated.
Changeset: 329b49a9
Author: Daniel Jeliński <djelinski at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/329b49a938a125908f0eff403dfc38a04aec96a1
Stats: 150 lines in 3 files changed: 10 ins; 57 del; 83 mod
8266900: java/net/httpclient/ShortResponseBody.java fails on windows with java.io.IOException: Unable to establish loopback connection
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/10794
More information about the net-dev
mailing list