RFR: 8333446: Add tests for hierarchical container support [v5]

Zdenek Zambersky zzambers at openjdk.org
Wed Aug 28 14:23:21 UTC 2024


On Tue, 27 Aug 2024 15:01:59 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> > If I am not mistaken, new test requires, that testsuite is ran as superuser (root). (Because it writes `/etc/systemd/system`, runs certain systemd commands). Should test be skipped for non-root?
> 
> Thanks! I can add that. FWIW, container tests are in a similar situation (applying cpu/memory limits is not allowed in rootless on cg v1) and they don't check for it.

I think, it would be nice to skip on non-root, as tests are often ran as non-root. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/19530#issuecomment-2315477927


More information about the core-libs-dev mailing list