[jdk11u-dev] RFR: 8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
Jonathan Dowland
jdowland at openjdk.org
Thu Sep 29 09:01:19 UTC 2022
I'd like to backport this to jdk11u-dev. It fixes a test failure caused due to expected cgroups virtual files (nr_quota etc) not existing in some circumstances/some systems. The patch cherry picks clean, touches one test library file, which is exercised by running ./test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java, which fails in current 11u-dev and passes after this patch.
-------------
Commit messages:
- Backport 444a0d98ac06ab043e3b11281234fd515abff302
Changes: https://git.openjdk.org/jdk11u-dev/pull/1379/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1379&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8284977
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/1379.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1379/head:pull/1379
PR: https://git.openjdk.org/jdk11u-dev/pull/1379
More information about the jdk-updates-dev
mailing list