RFR: 8374364: TestCgroupMetrics.java fails when docker service unavailable [v2]
SendaoYan
syan at openjdk.org
Fri Dec 26 06:44:38 UTC 2025
> Hi all,
>
> Test jdk/internal/platform/cgroup/TestCgroupMetrics.java report fails when the docker service is unavailable. The details shows in jbs issue. I think it's better to call `DockerTestUtils.checkCanTestDocker()` before run this test.
>
> Change has been verified locally. Test-fix only, no risk.
SendaoYan has updated the pull request incrementally with two additional commits since the last revision:
- Fix year
- Move DockerTestUtils.checkCanTestDocker() inside MetricsTester
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28996/files
- new: https://git.openjdk.org/jdk/pull/28996/files/9411a6e7..fe094b55
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=00-01
Stats: 6 lines in 2 files changed: 2 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28996.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28996/head:pull/28996
PR: https://git.openjdk.org/jdk/pull/28996
More information about the core-libs-dev
mailing list