[jdk11u-dev] RFR: 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
Martin Doerr
mdoerr at openjdk.java.net
Mon Mar 28 17:39:45 UTC 2022
On Mon, 28 Mar 2022 15:39:51 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this test fix backport to align with JDK 17+. Since [JDK-8231111](https://bugs.openjdk.java.net/browse/JDK-8231111) has been backported now, we need to adjust some test code so as to not run afoul when on certain test systems. The original patch doesn't apply cleanly due to:
>
> - `test/jdk/jdk/internal/platform/docker/MetricsMemoryTester.java`: [JDK-8275713](https://bugs.openjdk.java.net/browse/JDK-8275713) being present in JDK 11u which is a bug specific to JDK 15 and less. JDK-8275713 is a partial backport of this bug. Omitted those hunks.
> - `test/lib/jdk/test/lib/containers/cgroup/MetricsTesterCgroupV1.java`: One hunk didn't apply cleanly due to [JDK-8250984](https://bugs.openjdk.java.net/browse/JDK-8250984) present in 11u ahead of this backport. Fixed this up manually.
>
> Everything else is the same.
>
> Testing:
> - [x] container tests on Linux x86_64 on a cgroups v2 and cgroups v1 system. All pass.
LGTM.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk11u-dev/pull/956
More information about the jdk-updates-dev
mailing list