Skip to content

Commit

Permalink
PLT-725 Updating postgres version for test containers (#1422)
Browse files Browse the repository at this point in the history
## 🎫 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]>
  • Loading branch information
oluwolenpbc and oluwolenpbc authored Dec 12, 2024
1 parent 628532b commit 136251a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class AB2DPostgresqlContainer extends PostgreSQLContainer<AB2DPostgresqlContainer> {

private static final String IMAGE_VERSION = "postgres:11";
private static final String IMAGE_VERSION = "postgres:16";

public AB2DPostgresqlContainer() {
super(IMAGE_VERSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

public class AB2DCoveragePostgressqlContainer extends PostgreSQLContainer<AB2DCoveragePostgressqlContainer> {

private static final String IMAGE_VERSION = "postgres:11";
private static final String IMAGE_VERSION = "postgres:16";

public AB2DCoveragePostgressqlContainer() {
super(IMAGE_VERSION);
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class AB2DPostgresqlContainer extends PostgreSQLContainer<AB2DPostgresqlContainer> {

private static final String IMAGE_VERSION = "postgres:11";
private static final String IMAGE_VERSION = "postgres:16";

public AB2DPostgresqlContainer() {
super(IMAGE_VERSION);
Expand Down

0 comments on commit 136251a

Please sign in to comment.