From 007601ea100be1368ceb91a0fa2d9175a9cf56cf Mon Sep 17 00:00:00 2001 From: oluwolenpbc Date: Thu, 5 Dec 2024 10:55:23 -0500 Subject: [PATCH] PLT-725 Updating postgres version for test containers --- .../java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java | 2 +- .../ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java | 2 +- docker-compose.yml | 2 +- .../src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/test/java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java b/common/src/test/java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java index 5af5690ccf..2fc2053091 100644 --- a/common/src/test/java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java +++ b/common/src/test/java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java @@ -6,7 +6,7 @@ public class AB2DPostgresqlContainer extends PostgreSQLContainer { - private static final String IMAGE_VERSION = "postgres:11"; + private static final String IMAGE_VERSION = "postgres:16"; public AB2DPostgresqlContainer() { super(IMAGE_VERSION); diff --git a/coverage/src/test/java/gov/cms/ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java b/coverage/src/test/java/gov/cms/ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java index a72058e809..e0cf026529 100644 --- a/coverage/src/test/java/gov/cms/ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java +++ b/coverage/src/test/java/gov/cms/ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java @@ -5,7 +5,7 @@ public class AB2DCoveragePostgressqlContainer extends PostgreSQLContainer { - private static final String IMAGE_VERSION = "postgres:11"; + private static final String IMAGE_VERSION = "postgres:16"; public AB2DCoveragePostgressqlContainer() { super(IMAGE_VERSION); diff --git a/docker-compose.yml b/docker-compose.yml index 9b459ed994..c24064411f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2.4' services: db: - image: postgres:11 + image: postgres:16 command: postgres -c 'max_connections=1000' environment: - POSTGRES_DB=ab2d diff --git a/e2e-bfd-test/src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java b/e2e-bfd-test/src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java index a4d5295fc6..26dad9d220 100644 --- a/e2e-bfd-test/src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java +++ b/e2e-bfd-test/src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java @@ -6,7 +6,7 @@ public class AB2DPostgresqlContainer extends PostgreSQLContainer { - private static final String IMAGE_VERSION = "postgres:11"; + private static final String IMAGE_VERSION = "postgres:16"; public AB2DPostgresqlContainer() { super(IMAGE_VERSION);