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
8287663 Add a regression test for JDK-8287073 #8993
Conversation
|
/cc @mkartashev |
@jerboaa
|
@jerboaa Thanks for taking care of the test! I'm not a reviewer, but FWIW the test looks good to me. |
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.
LGTM.
@jerboaa This change now passes all automated pre-integration checks. 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 105 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
Not specific to this PR, but we have a general problem with lots of duplication between these two files. E.g., jdk/test/hotspot/jtreg/containers/cgroup/CgroupSubsystemFactory.java Lines 132 to 143 in a50b06e
jdk/test/jdk/jdk/internal/platform/cgroup/TestCgroupSubsystemFactory.java Lines 130 to 143 in a50b06e
We should try to consolidate these test cases to improve maintainability. |
I filed JDK-8287185 |
/integrate |
Agreed. Thanks for the review @iklam |
Going to push as commit 2d8c649.
Your commit was automatically rebased without conflicts. |
This adds a regression test for a recent fix (JDK-8287073). I've restructured the linux specific JDK code to call a separate static function to enable this test. It'll help future tests too.
Testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8993/head:pull/8993
$ git checkout pull/8993
Update a local copy of the PR:
$ git checkout pull/8993
$ git pull https://git.openjdk.java.net/jdk pull/8993/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8993
View PR using the GUI difftool:
$ git pr show -t 8993
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8993.diff