diff --git a/src/test/java/x1/stomp/test/ContainerTest.java b/src/test/java/x1/stomp/test/ContainerTest.java index 12420e23..d7948626 100644 --- a/src/test/java/x1/stomp/test/ContainerTest.java +++ b/src/test/java/x1/stomp/test/ContainerTest.java @@ -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"); } diff --git a/src/test/java/x1/stomp/test/EntitiesTest.java b/src/test/java/x1/stomp/test/EntitiesTest.java index cee056b5..6f4ed8b0 100644 --- a/src/test/java/x1/stomp/test/EntitiesTest.java +++ b/src/test/java/x1/stomp/test/EntitiesTest.java @@ -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;