From 7e3043a5ba89401d3b740ce181ba4769e87f7532 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 12:34:28 +0100 Subject: [PATCH] test(postgres): run tests with PostgreSQL 17 Add PostgreSQL 17, remove PostgreSQL 12 (EOL since November 21, 2024). https://www.postgresql.org/support/versioning/ --- database/pgx/pgx_test.go | 2 +- database/pgx/v5/pgx_test.go | 2 +- database/postgres/postgres_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/database/pgx/pgx_test.go b/database/pgx/pgx_test.go index 03977973d..018aa7cdb 100644 --- a/database/pgx/pgx_test.go +++ b/database/pgx/pgx_test.go @@ -34,11 +34,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } ) diff --git a/database/pgx/v5/pgx_test.go b/database/pgx/v5/pgx_test.go index 3066376b9..52cf60830 100644 --- a/database/pgx/v5/pgx_test.go +++ b/database/pgx/v5/pgx_test.go @@ -35,11 +35,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } ) diff --git a/database/postgres/postgres_test.go b/database/postgres/postgres_test.go index 988d086b2..0eea47e94 100644 --- a/database/postgres/postgres_test.go +++ b/database/postgres/postgres_test.go @@ -35,11 +35,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } )