Skip to content

Commit

Permalink
Update testcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
kifj committed Nov 3, 2024
1 parent 1831a02 commit bd1e3e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/java/x1/stomp/test/ContainerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ static PostgreSQLContainer<?> createPostgresSQLContainer() {
} catch (IOException e) {
throw new IllegalStateException(e);
}
return new PostgreSQLContainer<>("postgres:16-alpine").withNetwork(NETWORK).withNetworkAliases("postgres")
return new PostgreSQLContainer<>("postgres:17-alpine").withNetwork(NETWORK).withNetworkAliases("postgres")
.withDatabaseName("stocks").withInitScript("init.sql");
}

@SuppressWarnings("resource")
static ArtemisContainer createArtemisContainer() {
return new ArtemisContainer("apache/activemq-artemis:2.33.0").withNetwork(NETWORK).withNetworkAliases("activemq-artemis")
return new ArtemisContainer("apache/activemq-artemis:2.36.0").withNetwork(NETWORK).withNetworkAliases("activemq-artemis")
.withUser("artemis").withPassword("artemis");
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/x1/stomp/test/EntitiesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@DisplayName("Entities")
public class EntitiesTest {
@Container
private static final PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine");
private static final PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine");

private static EntityManagerFactory emf;
private EntityManager em;
Expand Down

0 comments on commit bd1e3e4

Please sign in to comment.