Skip to content

Commit

Permalink
Disable Artemis disk space checks for artemis-elasticsearch example
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Nov 26, 2024
1 parent 97488ed commit 95521f9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class CustomPahoTestResource implements QuarkusTestResourceLifecycleManag
private static final String IMAGE_NAME = "quay.io/artemiscloud/activemq-artemis-broker:1.0.26";
private static final String AMQ_USER = "admin";
private static final String AMQ_PASSWORD = "admin";
private static final String AMQ_JOLOKIA = "--relax-jolokia";
private static final String AMQ_EXTRA_ARGS = "--relax-jolokia --no-autotune --mapped --no-fsync --java-options=-Dbrokerconfig.maxDiskUsage=-1";
private GenericContainer<?> container;

@Override
Expand All @@ -36,8 +36,8 @@ public Map<String, String> start() {
.withExposedPorts(61616, 8161, 1883)
.withEnv("AMQ_USER", AMQ_USER)
.withEnv("AMQ_PASSWORD", AMQ_PASSWORD)
.withEnv("AMQ_EXTRA_ARGS", AMQ_JOLOKIA);
//.withPrivilegedMode(true);
.withEnv("AMQ_EXTRA_ARGS", AMQ_EXTRA_ARGS)
.withLogConsumer(outputFrame -> System.out.print(outputFrame.getUtf8String()));

container.start();

Expand Down

0 comments on commit 95521f9

Please sign in to comment.