8253476: TestUseContainerSupport.java fails on some Linux kernels w/o swap limit capabilities
Reviewed-by: bobv, coleenp
This commit is contained in:
parent
fb206908b4
commit
2fe0a5d75e
@ -60,8 +60,7 @@ public class TestUseContainerSupport {
|
||||
DockerRunOptions opts =
|
||||
new DockerRunOptions(imageName, "/jdk/bin/java", "CheckUseContainerSupport");
|
||||
opts.addClassOptions(Boolean.valueOf(useContainerSupport).toString());
|
||||
opts.addDockerOpts("--memory", "200m")
|
||||
.addDockerOpts("--volume", Utils.TEST_CLASSES + ":/test-classes/");
|
||||
opts.addDockerOpts("--volume", Utils.TEST_CLASSES + ":/test-classes/");
|
||||
if (useContainerSupport) {
|
||||
opts.addJavaOpts("-XX:+UseContainerSupport");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user