-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected #26065
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
8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected #26065
Conversation
👋 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
This backport pull request has now been updated with issue from the original commit. |
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.
Look reasonable to me - though strictly speaking tests that fiddle with the global configuration should be run in /othervm. This seems OK without /othervm as long as tests are not run concurrently in the same VM.
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.
Maybe wait for @JoeWang-Java to approve before pushing.
jtreg guarantees that a agentvm is only used for one single action. So the same JVM will never run more than one test concurrently. |
Just for my own peace of mind I looked up the jtreg FAQ to be sure it specifies this behaviour. The FAQ here says https://openjdk.org/jtreg/faq.html#how-do-i-specify-whether-to-run-tests-concurrently
|
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.
Confirmed changes are the same of those already pushed to the master
branch.
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.
Thanks Jaikiran.
Thank you all for the reviews. tier1, tier2 and tier3 tests against JDK 25 with this backport went fine. I'll integrate this now. |
/integrate |
Going to push as commit 554e38d. |
Can I please get a review of this backport of a test-only fix?
This backports the fix for https://bugs.openjdk.org/browse/JDK-8359337 into JDK 25. The original fix was integrated into mainline a few minutes back #26052. Backporting this fix should help prevent failure of these tests on macOS hosts which have proxies configured.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26065/head:pull/26065
$ git checkout pull/26065
Update a local copy of the PR:
$ git checkout pull/26065
$ git pull https://git.openjdk.org/jdk.git pull/26065/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26065
View PR using the GUI difftool:
$ git pr show -t 26065
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26065.diff
Using Webrev
Link to Webrev Comment