RFR: 8274506: TestPids.java and TestPidsLimit.java fail with podman run as root
mbaesken at openjdk.java.net
Wed Sep 29 13:02:39 UTC 2021
On Wed, 29 Sep 2021 12:51:00 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this test fix to work around a podman issue. `podman` expects for the "unlimited" option of `--pids-limit` to be `0` whereas `docker` wants `-1`. See the JBS bug for details. Thoughts?
> Testing: hotspot/jdk container tests with docker and podman. Two pids tests used to fail and pass with the patch.
>  https://github.com/containers/podman/issues/11782
Hello Severin, the test fix looks good to me.
Best regards, Matthias
Marked as reviewed by mbaesken (Reviewer).
More information about the core-libs-dev