RFR: 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 … [v2]

Severin Gehwolf sgehwolf at openjdk.java.net
Fri Sep 25 17:15:06 UTC 2020


On Fri, 25 Sep 2020 15:49:45 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java line 167:
>> 
>>> 165:             out.shouldContain("OperatingSystemMXBean.getTotalSwapSpaceSize: " + expectedSwap);
>>> 166:         } catch(RuntimeException ex) {
>>> 167:             out.shouldMatch("OperatingSystemMXBean.getTotalSwapSpaceSize: [0-9]+");
>> 
>> This should probably be:
>> out.shouldMatch("OperatingSystemMXBean\.getTotalSwapSpaceSize: [0-9]+");
>
> Heh, it was pre-existing :)

This isn't critical for this patch. As an pre-existing issue I won't insist on this. Either way is fine for me.

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

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


More information about the hotspot-runtime-dev mailing list