RFR: 8287398: Allow concurrent execution of hotspot docker tests [v2]

Ioi Lam iklam at openjdk.java.net
Fri May 27 16:27:41 UTC 2022


On Fri, 27 May 2022 07:55:11 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Unfortunately, collisions still happen, see the uses of `Common.imageName`. I see at least two conflicts:
> 
> * `TestMemoryAwareness` and `TestMemoryWithCgroupV1`
> * `TestPids` and `TestPidsLimit`
> 
> The first pair of tests nearly reliably fails on sufficiently large desktop after this patch. Please take a large machine and maybe test with `make test TEST=containers/docker JTREG="REPEAT_COUNT=50"`?

I updated `Common.imageName()` to generate a unique name using the `"test.name"` system property. The `suffix` parameter isn't necessary anymore, but I left it there to avoid modifying all the test cases.

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

PR: https://git.openjdk.java.net/jdk/pull/8914


More information about the hotspot-runtime-dev mailing list