-
Notifications
You must be signed in to change notification settings - Fork 6.3k
8368821: Test java/net/httpclient/http3/GetHTTP3Test.java intermittently fails with java.io.IOException: QUIC endpoint closed #27619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tly fails with java.io.IOException: QUIC endpoint closed
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
@jaikiran This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proposed changes look good to me. I agree that the connection timeout is not needed for the purpose of the test. It might have been added to fail the test earlier while working on the implementation and running the test locally, but if it causes trouble in higher tiers I believe we can remove it safely.
Thank you Daniel for the review. tier testing with these changes in our CI came back fine. |
/integrate |
Going to push as commit 76dba20.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this test-only change which addresses intermittent failures in
GetHTTP3Test
andPostHTTP3Test
?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.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27619/head:pull/27619
$ git checkout pull/27619
Update a local copy of the PR:
$ git checkout pull/27619
$ git pull https://git.openjdk.org/jdk.git pull/27619/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27619
View PR using the GUI difftool:
$ git pr show -t 27619
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27619.diff
Using Webrev
Link to Webrev Comment