From 0444ec853147c08e5fb16de938e10312a6453973 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Thu, 8 Aug 2024 00:09:10 +0200 Subject: [PATCH] test(postgres): run tests with PostgreSQL 16 --- database/pgx/pgx_test.go | 5 +---- database/pgx/v5/pgx_test.go | 5 +---- database/postgres/postgres_test.go | 8 ++++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/database/pgx/pgx_test.go b/database/pgx/pgx_test.go index 53e8e1d86..03977973d 100644 --- a/database/pgx/pgx_test.go +++ b/database/pgx/pgx_test.go @@ -34,14 +34,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:9.5", Options: opts}, - {ImageName: "postgres:9.6", Options: opts}, - {ImageName: "postgres:10", Options: opts}, - {ImageName: "postgres:11", Options: opts}, {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}, } ) diff --git a/database/pgx/v5/pgx_test.go b/database/pgx/v5/pgx_test.go index c7339c4fc..3066376b9 100644 --- a/database/pgx/v5/pgx_test.go +++ b/database/pgx/v5/pgx_test.go @@ -35,14 +35,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:9.5", Options: opts}, - {ImageName: "postgres:9.6", Options: opts}, - {ImageName: "postgres:10", Options: opts}, - {ImageName: "postgres:11", Options: opts}, {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}, } ) diff --git a/database/postgres/postgres_test.go b/database/postgres/postgres_test.go index 02bf991b8..988d086b2 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:9.5", Options: opts}, - {ImageName: "postgres:9.6", Options: opts}, - {ImageName: "postgres:10", Options: opts}, - {ImageName: "postgres:11", Options: opts}, {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}, } )