Integrated: 8308090: Add container tests for on-the-fly resource quota updates
Severin Gehwolf
sgehwolf at openjdk.org
Fri Jun 2 09:01:19 UTC 2023
On Mon, 22 May 2023 16:40:40 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review these test changes which implement automatic testing of container resource updates without JVM restart. Note that this merely tests container detection code handling this case. It doesn't do anything special for the JVM itself, though it might make sense to add some sanity checks should we detect certain limits changing. In another PR, though.
>
> As to the test design, it works similar to the shared temp tests: Interact between the two containers by virtue of a shared filesystem `/tmp` and creating marker files there in order to make them cooperate. Note that the new test needs `podman` version `4.3.0` and better (`4.5` is current).
>
> Testing:
> - [x] GHA
> - [x] Linux x86_64 container tests on cg v1 and cg v2 system
> - [x] Newly added tests on Linux x86_64 cg v1 and cg v2 (`podman` and `docker`)
This pull request has now been integrated.
Changeset: dc8bc6c9
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/dc8bc6c98ca1f9b441cf71c641675fe29dda9162
Stats: 434 lines in 5 files changed: 431 ins; 2 del; 1 mod
8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
-------------
PR: https://git.openjdk.org/jdk/pull/14090
More information about the serviceability-dev
mailing list