diff --git a/jpa/multitenancy/multidatasource-multitenancy/pom.xml b/jpa/multitenancy/multidatasource-multitenancy/pom.xml index 0fbb18041..4ec54a926 100644 --- a/jpa/multitenancy/multidatasource-multitenancy/pom.xml +++ b/jpa/multitenancy/multidatasource-multitenancy/pom.xml @@ -228,7 +228,7 @@ - 1.17.0 + 1.18.1 diff --git a/jpa/multitenancy/multidatasource-multitenancy/src/test/java/com/example/multitenancy/common/DBContainerInitializer.java b/jpa/multitenancy/multidatasource-multitenancy/src/test/java/com/example/multitenancy/common/DBContainerInitializer.java index dd297bb40..ae2f376df 100644 --- a/jpa/multitenancy/multidatasource-multitenancy/src/test/java/com/example/multitenancy/common/DBContainerInitializer.java +++ b/jpa/multitenancy/multidatasource-multitenancy/src/test/java/com/example/multitenancy/common/DBContainerInitializer.java @@ -6,6 +6,7 @@ import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Testcontainers; +import org.testcontainers.utility.DockerImageName; @Testcontainers(disabledWithoutDocker = true, parallel = true) public class DBContainerInitializer { @@ -16,7 +17,8 @@ public class DBContainerInitializer { @Container private static final OracleContainer ORACLE_CONTAINER = - new OracleContainer("gvenzl/oracle-xe:slim-faststart"); + new OracleContainer( + DockerImageName.parse("gvenzl/oracle-xe").withTag("slim-faststart")); @DynamicPropertySource static void addsDynamicProperties(DynamicPropertyRegistry propertyRegistry) {