From 58c561a227fea3c7206dd43cb993d266d2239dce Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 31 Mar 2023 18:42:35 +0200 Subject: [PATCH] Set a slightly higher memory for testing We will improve the situation but we need CI to be more stable. --- .../src/main/java/io/quarkus/test/QuarkusProdModeTest.java | 2 +- .../main/java/io/quarkus/maven/it/RunAndCheckMojoTestBase.java | 2 +- .../main/java/io/quarkus/maven/it/verifier/RunningInvoker.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java index f2714e742faf8..f9c2110ceb1e4 100644 --- a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java +++ b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java @@ -110,7 +110,7 @@ public class QuarkusProdModeTest private String logFileName; private Map runtimeProperties; // by default, we use these lower heap settings - private List jvmArgs = Collections.singletonList("-Xmx128m"); + private List jvmArgs = Collections.singletonList("-Xmx192m"); private Map testResourceProperties = new HashMap<>(); // these will be used to create a directory that can then be obtained by the buildChainCustomizersProducer function // values are meant to be resources that exist on the test classpath diff --git a/test-framework/maven/src/main/java/io/quarkus/maven/it/RunAndCheckMojoTestBase.java b/test-framework/maven/src/main/java/io/quarkus/maven/it/RunAndCheckMojoTestBase.java index 5e58fac6501e6..e34098ba939a4 100644 --- a/test-framework/maven/src/main/java/io/quarkus/maven/it/RunAndCheckMojoTestBase.java +++ b/test-framework/maven/src/main/java/io/quarkus/maven/it/RunAndCheckMojoTestBase.java @@ -75,7 +75,7 @@ protected void run(boolean performCompile, LaunchMode mode, String... options) //running at once, if they add default to 75% of total mem we can easily run out //of physical memory as they will consume way more than what they need instead of //just running GC - args.add("-Djvm.args=-Xmx128m"); + args.add("-Djvm.args=-Xmx192m"); running.execute(args, Map.of()); } diff --git a/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java b/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java index 18993b828f609..8577b26662456 100644 --- a/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java +++ b/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java @@ -128,7 +128,7 @@ public MavenProcessInvocationResult execute(List goals, Map