Integrated: 8274506: TestPids.java and TestPidsLimit.java fail with podman run as root
Severin Gehwolf
sgehwolf at openjdk.java.net
Thu Sep 30 08:56:41 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[1]. `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.
>
> [1] https://github.com/containers/podman/issues/11782
This pull request has now been integrated.
Changeset: 94e31e5c
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/94e31e5ca51d1c4c253cf7ac5acd950d10c22267
Stats: 12 lines in 2 files changed: 10 ins; 0 del; 2 mod
8274506: TestPids.java and TestPidsLimit.java fail with podman run as root
Reviewed-by: mbaesken, cjplummer
-------------
PR: https://git.openjdk.java.net/jdk/pull/5750
More information about the serviceability-dev
mailing list