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

Severin Gehwolf sgehwolf at openjdk.org
Wed Aug 28 16:13:07 UTC 2024


On Wed, 28 Aug 2024 14:21:09 GMT, Zdenek Zambersky <zzambers 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.

Done in https://github.com/openjdk/jdk/pull/19530/commits/7e8d9ed46815096ae8c4502f3320ebf5208438d5

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

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


More information about the core-libs-dev mailing list