Skip to content

Commit 136251a

Browse files
oluwolenpbcoluwolenpbc
and
oluwolenpbc
authored
PLT-725 Updating postgres version for test containers (#1422)
## 🎫 Ticket https://jira.cms.gov/browse/PLT-725 ## 🛠 Changes To update test containers from postgres 11 to 16 ## ℹ️ Context We have updated the postgres databases to 16.4 and we need to update our test to reflect the same version. ## 🧪 Validation The e2e and unit test being successful will validate these changes. Co-authored-by: oluwolenpbc <[email protected]>
1 parent 628532b commit 136251a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

common/src/test/java/gov/cms/ab2d/common/util/AB2DPostgresqlContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class AB2DPostgresqlContainer extends PostgreSQLContainer<AB2DPostgresqlContainer> {
88

9-
private static final String IMAGE_VERSION = "postgres:11";
9+
private static final String IMAGE_VERSION = "postgres:16";
1010

1111
public AB2DPostgresqlContainer() {
1212
super(IMAGE_VERSION);

coverage/src/test/java/gov/cms/ab2d/coverage/util/AB2DCoveragePostgressqlContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
public class AB2DCoveragePostgressqlContainer extends PostgreSQLContainer<AB2DCoveragePostgressqlContainer> {
77

8-
private static final String IMAGE_VERSION = "postgres:11";
8+
private static final String IMAGE_VERSION = "postgres:16";
99

1010
public AB2DCoveragePostgressqlContainer() {
1111
super(IMAGE_VERSION);

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2.4'
22

33
services:
44
db:
5-
image: postgres:11
5+
image: postgres:16
66
command: postgres -c 'max_connections=1000'
77
environment:
88
- POSTGRES_DB=ab2d

e2e-bfd-test/src/test/java/gov/cms/ab2d/AB2DPostgresqlContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class AB2DPostgresqlContainer extends PostgreSQLContainer<AB2DPostgresqlContainer> {
88

9-
private static final String IMAGE_VERSION = "postgres:11";
9+
private static final String IMAGE_VERSION = "postgres:16";
1010

1111
public AB2DPostgresqlContainer() {
1212
super(IMAGE_VERSION);

0 commit comments

Comments
 (0)