RFR: 8372615: Many container tests fail when running rootless on cgroup v1 [v2]

Casper Norrbin cnorrbin at openjdk.org
Mon Dec 1 15:44:31 UTC 2025


On Mon, 1 Dec 2025 15:30:04 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> This adds a dependency on `Metrics` for all the Hotspot container tests. I guess this is considered OK?

I believe it's an acceptable trade-off. Many tests would need the dependancy anyway in addition to the full check for resource limits. I would rather abstract that away in a utility function, at the cost of a few other tests also requiring the module.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28557#issuecomment-3597274354


More information about the serviceability-dev mailing list