[8u] RFR: 8221710: [TESTBUG] more configurable parameters for docker testing

Andrew Hughes gnu.andrew at redhat.com
Wed Nov 25 06:19:54 UTC 2020


On 18:58 Fri 23 Oct     , Severin Gehwolf wrote:
> Hi,
> 
> Please review this backport for OpenJDK 8u. It's also been backported
> by Oracle (I see 8u281). Besides, it makes testing container patches
> easier as it allows one to specify some diagnostics/commands via
> properties. It's also a pre-requisite for follow up patches I'd like to
> bring to 8u: JDK-8227642 and JDK-8228434. The JDK 11 patch didn't apply
> cleanly due to:
> 
>  * hotspot/jdk repositories being split in 8u
>  * SkippedException not being present in 8u
>  * Some context difference in DockerBasicTest.java ("jdk8-
>    internal:test" which is different in 11u)
> 
> I've manually resolved the issues which was pretty straight-forward.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8221710
> webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8221710/jdk8/02/
> 
> Testing: Container tests on Linux x86_64 (cgroup v1).
> 
> Thoughts?
> 
> Thanks,
> Severin
> 

Patch looks fine, but I do wonder why we have duplicate copies of
DockerTestUtils.java. Is that really necessary?

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the jdk8u-dev mailing list