Skip to content

Commit 36d17ba

Browse files
authored
tests: fix various tests (#1209)
* Remove old versions of MongoDB Removed: | Release | Release Date | End of Life Date | |-------------|---------------|------------------| | MongoDB 3.4 | November 2016 | January 2020 | | MongoDB 3.6 | November 2017 | April 2021 | | MongoDB 4.0 | June 2018 | April 2022 | | MongoDB 4.2 | August 2019 | April 2023 | Added: | Release | Release Date | End of Life Date | |-------------|---------------|------------------| | MongoDB 5.0 | July 2021 | October 2024 | | MongoDB 6.0 | July 2022 | July 2025 | | MongoDB 7.0 | August 2023 | August 2026 | | MongoDB 8.0 | October 2024 | TBD | https://www.mongodb.com/legal/support-policy/lifecycles * test(postgres): run tests with PostgreSQL 17 Add PostgreSQL 17, remove PostgreSQL 12 (EOL since November 21, 2024). https://www.postgresql.org/support/versioning/ * test(cockroachdb): remove old versions of CockroachDB in tests Removed: | Release | Released | Maintenance Support | Assistance Support | Latest | |:-------------------:|:--------------------------------------:|:--------------------------------------------:|:--------------------------------------------:|:---------------------:| | 2.1 | 6 years ago (30 Oct 2018) | Ended 5 years ago (30 Oct 2019) | Ended 4 years and 7 months ago (30 Apr 2020) | 2.1.11 (22 Jan 2020) | | 2.0 | 6 years and 8 months ago (04 Apr 2018) | Ended 5 years and 8 months ago (04 Apr 2019) | Ended 5 years ago (04 Oct 2019) | 2.0.7 (28 Nov 2018) | | 1.1 | 7 years ago (12 Oct 2017) | Ended 6 years ago (12 Oct 2018) | Ended 5 years and 8 months ago (12 Apr 2019) | 1.1.9 (01 Oct 2018) | | 1.0 | 7 years ago (10 May 2017) | Ended 6 years ago (10 May 2018) | Ended 6 years ago (10 Nov 2018) | 1.0.7 (11 Feb 2018) | Added: | Release | Released | Maintenance Support | Assistance Support | Latest | |:-------------------:|:--------------------------------------:|:--------------------------------------------:|:--------------------------------------------:|:---------------------:| | 24.3 | 3 weeks ago (18 Nov 2024) | Ends in 11 months (18 Nov 2025) | Ends in 1 year and 5 months (18 May 2026) | 24.3.0 (20 Nov 2024) | | 24.2 | 3 months and 4 weeks ago (12 Aug 2024) | Ends in 2 months (12 Feb 2025) | Ends in 2 months (12 Feb 2025) | 24.2.5 (11 Nov 2024) | | 24.1 (Upcoming LTS) | 6 months and 3 weeks ago (20 May 2024) | Ends in 5 months (20 May 2025) | Ends in 11 months (20 Nov 2025) | 24.1.7 (11 Nov 2024) | | 23.2 (Upcoming LTS) | 10 months ago (05 Feb 2024) | Ends in 1 month and 4 weeks (05 Feb 2025) | Ends in 7 months and 4 weeks (05 Aug 2025) | 23.2.16 (13 Nov 2024) | * test(firebird): remove old versions of Firebird in tests Removed: Firebird 2.5, see https://firebirdsql.org/en/discontinued-versions/ Added: - Firebird 4.0 (https://firebirdsql.org/en/firebird-4-0-5/) - Firebird 5.0 (https://firebirdsql.org/en/firebird-5-0-1/) * test(clickhouse): run ClickHouse tests with official LTS image (24.8)
1 parent 24a6476 commit 36d17ba

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

database/clickhouse/clickhouse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var (
2626
PortRequired: true, ReadyFunc: isReady,
2727
}
2828
specs = []dktesting.ContainerSpec{
29-
{ImageName: "yandex/clickhouse-server:21.3", Options: opts},
29+
{ImageName: "clickhouse:24.8", Options: opts},
3030
}
3131
)
3232

database/firebird/firebird_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ var (
3838
},
3939
}
4040
specs = []dktesting.ContainerSpec{
41-
{ImageName: "jacobalberty/firebird:2.5-ss", Options: opts},
42-
{ImageName: "jacobalberty/firebird:3.0", Options: opts},
41+
{ImageName: "jacobalberty/firebird:v3.0", Options: opts},
42+
{ImageName: "jacobalberty/firebird:v4.0", Options: opts},
43+
{ImageName: "jacobalberty/firebird:v5.0", Options: opts},
4344
}
4445
)
4546

database/mongodb/mongodb_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ var (
3232
opts = dktest.Options{PortRequired: true, ReadyFunc: isReady}
3333
// Supported versions: https://www.mongodb.com/support-policy
3434
specs = []dktesting.ContainerSpec{
35-
{ImageName: "mongo:3.4", Options: opts},
36-
{ImageName: "mongo:3.6", Options: opts},
37-
{ImageName: "mongo:4.0", Options: opts},
38-
{ImageName: "mongo:4.2", Options: opts},
35+
{ImageName: "mongo:5.0", Options: opts},
36+
{ImageName: "mongo:6.0", Options: opts},
37+
{ImageName: "mongo:7.0", Options: opts},
38+
{ImageName: "mongo:8.0", Options: opts},
3939
}
4040
)
4141

database/pgx/v5/pgx_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ var (
3535
PortRequired: true, ReadyFunc: isReady}
3636
// Supported versions: https://www.postgresql.org/support/versioning/
3737
specs = []dktesting.ContainerSpec{
38-
{ImageName: "postgres:12", Options: opts},
3938
{ImageName: "postgres:13", Options: opts},
4039
{ImageName: "postgres:14", Options: opts},
4140
{ImageName: "postgres:15", Options: opts},
4241
{ImageName: "postgres:16", Options: opts},
42+
{ImageName: "postgres:17", Options: opts},
4343
}
4444
)
4545

0 commit comments

Comments
 (0)