-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8283279: [Testbug] Improve TestGetSwapSpaceSize #7854
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
8283279: [Testbug] Improve TestGetSwapSpaceSize #7854
Conversation
|
/label core-libs |
|
👋 Welcome back sgehwolf! A progress list of the required criteria for merging this PR into |
|
@jerboaa |
Webrevs
|
|
@DamonFool Do you think you can have a look at this? Thanks! |
|
/label serviceability |
|
@plummercj |
DamonFool
left a comment
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.
Please also update the copyright year.
Thanks.
test/jdk/jdk/internal/platform/docker/GetFreeSwapSpaceSize.java
Outdated
Show resolved
Hide resolved
test/jdk/jdk/internal/platform/docker/GetFreeSwapSpaceSize.java
Outdated
Show resolved
Hide resolved
|
Thanks for the review, @DamonFool! Updated the patch. |
DamonFool
left a comment
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
Thanks for the update.
|
@jerboaa 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 29 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. ➡️ To integrate this PR with the above commit message to the |
|
Thanks for the review! |
|
/integrate |
|
Going to push as commit a771600.
Your commit was automatically rebased without conflicts. |
Please review this container test improvement. The test in question only makes sense iff the total swap space size as reported by the container aware OperatingSystemMXBean is
0. If that's not the case, then something else might be amiss, e.g. OperatingSystemMXBean reporting the host swap limits. In such a case a passing test tells us nothing. Certainly not if thefix from JDK-8242480 is present or not.
Testing:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/7854/head:pull/7854$ git checkout pull/7854Update a local copy of the PR:
$ git checkout pull/7854$ git pull https://git.openjdk.java.net/jdk pull/7854/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 7854View PR using the GUI difftool:
$ git pr show -t 7854Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/7854.diff