Skip to content

Commit

Permalink
Test revert shutdown hook
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed Oct 31, 2024
1 parent c1c1ddc commit b0d5fe6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
21 changes: 13 additions & 8 deletions spring-boot-artemis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<description>Demo project for Spring Boot</description>
<properties>
<java.version>21</java.version>
<testcontainers.version>1.20.3</testcontainers.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -32,15 +31,17 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>activemq</artifactId>
<groupId>com.github.testcontainers</groupId>
<artifactId>testcontainers-java</artifactId>
<version>revert-shutdown-hook-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -54,6 +55,10 @@
</plugins>
</build>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.awaitility.Awaitility.waitAtMost;

@SpringBootTest
@SpringBootTest(
properties = "spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.r2dbc.R2dbcAutoConfiguration")
@Testcontainers
class SpringBootArtemisApplicationTests {

Expand Down

0 comments on commit b0d5fe6

Please sign in to comment.