RFR: 8288717: Add a means to close idle connections in HTTP/2 connection pool [v4]

Conor Cleary ccleary at openjdk.org
Tue Oct 25 08:24:54 UTC 2022


On Tue, 25 Oct 2022 08:17:38 GMT, Conor Cleary <ccleary at openjdk.org> wrote:

>> test/jdk/java/net/httpclient/http2/IdleConnectionTimeoutTest.java line 95:
>> 
>>> 93:             if (timeoutVal.equals("1")) {
>>> 94:                 hreq = HttpRequest.newBuilder(timeoutUri).version(HTTP_2).GET().build();
>>> 95:                 sleepTime = 8000;
>> 
>> Do we really need to sleep for 8 seconds? would 4 work too?
>
> We could maybe even go further and maybe use 1 and 2 second property values in the test runs? Then sleep values of 2000ms and 1000ms respectively.

Or of 2500ms and 500ms even to be on the safe side for the test

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

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


More information about the net-dev mailing list