Fix JMS tests by disabling ActiveMQ Artemis persistence (2nd try) (#8667)
This commit is contained in:
parent
7b0918ef18
commit
1263e47ec2
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue