[11u] RFR: 8220672: [TESTBUG] TestCPUSets should check that cpuset does not exceed available cores

Severin Gehwolf sgehwolf at redhat.com
Mon Jul 22 10:57:30 UTC 2019


Hi,

I'm working on getting better container testing experience in JDK 11u.
One of the issues I'd like to backport is this one. Also, it's one of
those cases which got backported in 11.0.5-oracle.

The jdk/jdk changeset didn't apply cleanly since a)
jtreg.SkippedException is being thrown in jdk/jdk, not available in JDK
11u b) TestCPUSets.java wasn't problem-listed in JDK 11u. Otherwise the
patch is the same.

I've not included the change for b) and opted for System.out.println()
and return as a substitute for a).

Bug: https://bugs.openjdk.java.net/browse/JDK-8220672
webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8220672/jdk11/01/webrev/
original-changeset: http://hg.openjdk.java.net/jdk/jdk/rev/a73fe240da4a

Testing: Ran docker tests on Linux x86_64.

Thoughts?

Thanks,
Severin



More information about the jdk-updates-dev mailing list