Integrated: 8368821: Test java/net/httpclient/http3/GetHTTP3Test.java intermittently fails with java.io.IOException: QUIC endpoint closed
Jaikiran Pai
jpai at openjdk.org
Sat Oct 4 08:11:59 UTC 2025
On Fri, 3 Oct 2025 07:13:21 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this test-only change which addresses intermittent failures in `GetHTTP3Test` and `PostHTTP3Test`?
>
> As noted in https://bugs.openjdk.org/browse/JDK-8368821, these two tests have been reported to fail intermittently, especially when the host on which it runs is under heavy resource usage or when run with JVM options like `-Xcomp`.
>
> The commit in this PR removes the connection timeout that was enforced on the connection attempts by the test. As far as I can see, they aren't necessary for what this test is testing. The change also updates a few other places in this test which had specific values for timeouts when checking if the `HttpClient` had shutdown. These places have been updated to take into account the timeout factor when computing the timeout.
>
> The changes have been verified by Matthias and SendaoYan who originally reported these issues. I will run this change in our CI too before integrating.
This pull request has now been integrated.
Changeset: 76dba201
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/76dba201fa1a525780677e4d3dee8e9ffafd1cd7
Stats: 15 lines in 2 files changed: 4 ins; 4 del; 7 mod
8368821: Test java/net/httpclient/http3/GetHTTP3Test.java intermittently fails with java.io.IOException: QUIC endpoint closed
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/27619
More information about the net-dev
mailing list