From e2fe88200ede8d7703a68b480fd6b3f2efb6bcf1 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Fri, 11 Nov 2022 11:37:31 +0000 Subject: Temporary registry update - temporarily updating the registry to test the failing tests. Issue-ID: CPS-1360 Change-Id: I7e303bb72b3f87565e27bcca7b1d9f5afc2b1417 Signed-off-by: mpriyank --- cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cps-ri/src/test/java/org') diff --git a/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java b/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java index 2d2df2e629..61a5c042a6 100755 --- a/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java +++ b/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java @@ -21,6 +21,7 @@ package org.onap.cps; import org.testcontainers.containers.PostgreSQLContainer; +import org.testcontainers.utility.DockerImageName; /** * The Postgresql database test container wrapper. @@ -30,11 +31,11 @@ import org.testcontainers.containers.PostgreSQLContainer; * psql -d test -U test */ public class DatabaseTestContainer extends PostgreSQLContainer { - private static final String IMAGE_VERSION = "postgres:14.1"; + private static final String IMAGE_VERSION = "registry.nordix.org/onaptest/postgres:14.1"; private static DatabaseTestContainer databaseTestContainer; private DatabaseTestContainer() { - super(IMAGE_VERSION); + super(DockerImageName.parse(IMAGE_VERSION).asCompatibleSubstituteFor("postgres")); } /** -- cgit 1.2.3-korg