Fix JMS tests by disabling ActiveMQ Artemis persistence (2nd try) (#8667)

This commit is contained in:
Mateusz Rzeszutek 2023-06-07 16:58:44 +02:00 committed by GitHub
parent 7b0918ef18
commit 1263e47ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class Jms3InstrumentationTest {
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))

View File

@ -64,7 +64,7 @@ class SpringJmsListenerTest {
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))