Skip to content

Commit

Permalink
Fix JMS tests by disabling ActiveMQ Artemis persistence (2nd try) (#8667
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Mateusz Rzeszutek committed Jun 7, 2023
1 parent 7b0918e commit 1263e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void setUp() throws JMSException {
new GenericContainer<>("quay.io/artemiscloud/activemq-artemis-broker:artemis.2.27.0")
.withEnv("AMQ_USER", "test")
.withEnv("AMQ_PASSWORD", "test")
.withEnv("AMQ_EXTRA_ARGS", "--disable-persistence")
.withEnv("JAVA_TOOL_OPTIONS", "-Dbrokerconfig.maxDiskUsage=-1")
.withExposedPorts(61616, 8161)
.waitingFor(Wait.forLogMessage(".*Server is now live.*", 1))
.withStartupTimeout(Duration.ofMinutes(2))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void setUp() {
new GenericContainer<>("quay.io/artemiscloud/activemq-artemis-broker:artemis.2.27.0")
.withEnv("AMQ_USER", "test")
.withEnv("AMQ_PASSWORD", "test")
.withEnv("AMQ_EXTRA_ARGS", "--disable-persistence")
.withEnv("JAVA_TOOL_OPTIONS", "-Dbrokerconfig.maxDiskUsage=-1")
.withExposedPorts(61616, 8161)
.waitingFor(Wait.forLogMessage(".*Server is now live.*", 1))
.withStartupTimeout(Duration.ofMinutes(2))
Expand Down

0 comments on commit 1263e47

Please sign in to comment.