Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8253476: TestUseContainerSupport.java fails on some Linux kernels w/o…
… swap limit capabilities

Reviewed-by: bobv, coleenp
  • Loading branch information
Harold Seigel committed Sep 29, 2020
1 parent fb20690 commit 2fe0a5d75ee9434017b3df5cfa713ef895a19866
Showing 1 changed file with 1 addition and 2 deletions.
@@ -60,8 +60,7 @@ private static void testUseContainerSupport(boolean useContainerSupport) throws
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 {

0 comments on commit 2fe0a5d

Please sign in to comment.