Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ dependencies {

testLibrary("org.springframework.boot:spring-boot-starter-test:3.0.0")
testLibrary("org.springframework.boot:spring-boot-starter:3.0.0")

// tests don't work with spring boot 4 yet
latestDepTestLibrary("org.springframework.boot:spring-boot-starter-test:3.+") // documented limitation
latestDepTestLibrary("org.springframework.boot:spring-boot-starter:3.+") // documented limitation
}

// spring 6 requires java 17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ abstract class AbstractSpringJmsListenerTest {
@BeforeAll
static void setUp() {
broker =
new GenericContainer<>("quay.io/artemiscloud/activemq-artemis-broker:artemis.2.27.0")
.withEnv("AMQ_USER", "test")
.withEnv("AMQ_PASSWORD", "test")
new GenericContainer<>("apache/activemq-artemis:2.44.0")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i had issues running the other container, but this one worked well. If we'd prefer to keep it as is, I can revert

.withEnv("ARTEMIS_USER", "test")
.withEnv("ARTEMIS_PASSWORD", "test")
.withEnv("JAVA_TOOL_OPTIONS", "-Dbrokerconfig.maxDiskUsage=-1")
.withExposedPorts(61616, 8161)
.waitingFor(Wait.forLogMessage(".*Server is now live.*", 1))
.waitingFor(Wait.forLogMessage(".*Server is now active.*", 1))
.withStartupTimeout(Duration.ofMinutes(2))
.withLogConsumer(new Slf4jLogConsumer(logger));
broker.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public void configure(IgnoredTypesBuilder builder) {
.allowClass(
"org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter$$Lambda")
.allowClass("org.springframework.boot.autoconfigure.BackgroundPreinitializer$")
.allowClass(
"org.springframework.boot.autoconfigure.preinitialize.BackgroundPreinitializingApplicationListener$")
.allowClass(
"org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration$$Lambda")
.allowClass("org.springframework.boot.autoconfigure.condition.OnClassCondition$")
Expand Down
Loading