From d2eab9aa266a76a67b7993b313701f00eda8bdb0 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 24 Nov 2023 04:16:21 +0000 Subject: [PATCH] polish --- jpa/multitenancy/multidatasource-multitenancy/pom.xml | 2 +- .../example/multitenancy/common/DBContainerInitializer.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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) {