From 6062dbf168746eabcfbb883d6965fa6cff145d47 Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Thu, 9 Oct 2025 13:36:19 +0200 Subject: [PATCH] Upgrade CI to JDK 25 --- .github/workflows/ci-4.x.yml | 10 +++++----- .github/workflows/ci-matrix-5.x.yml | 10 +++++----- .../java/io/vertx/tests/mysqlclient/MySQLTLSTest.java | 4 +++- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-4.x.yml b/.github/workflows/ci-4.x.yml index 3a157f8de..2a079cb6f 100644 --- a/.github/workflows/ci-4.x.yml +++ b/.github/workflows/ci-4.x.yml @@ -41,19 +41,19 @@ jobs: jdk: 8 profile: 'SQL-templates' - os: ubuntu-latest - jdk: 17 + jdk: 25 profile: 'PostgreSQL-11' - os: ubuntu-latest - jdk: 17 + jdk: 25 profile: 'MySQL-5.7' - os: ubuntu-latest - jdk: 17 + jdk: 25 profile: 'MariaDB-10.4' - os: ubuntu-latest - jdk: 17 + jdk: 25 profile: 'MSSQL-2019-latest' - os: ubuntu-latest - jdk: 17 + jdk: 25 profile: 'Oracle-23' uses: ./.github/workflows/ci.yml with: diff --git a/.github/workflows/ci-matrix-5.x.yml b/.github/workflows/ci-matrix-5.x.yml index 2e64aa345..530386ea7 100644 --- a/.github/workflows/ci-matrix-5.x.yml +++ b/.github/workflows/ci-matrix-5.x.yml @@ -44,19 +44,19 @@ jobs: jdk: 11 profile: 'SQL-templates' - os: ubuntu-latest - jdk: 21 + jdk: 25 profile: 'PostgreSQL-11' - os: ubuntu-latest - jdk: 21 + jdk: 25 profile: 'MySQL-5.7' - os: ubuntu-latest - jdk: 21 + jdk: 25 profile: 'MariaDB-10.4' - os: ubuntu-latest - jdk: 21 + jdk: 25 profile: 'MSSQL-2019-latest' - os: ubuntu-latest - jdk: 21 + jdk: 25 profile: 'Oracle-23' uses: ./.github/workflows/ci.yml with: diff --git a/vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/MySQLTLSTest.java b/vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/MySQLTLSTest.java index 3a748f626..e1541fa0c 100644 --- a/vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/MySQLTLSTest.java +++ b/vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/MySQLTLSTest.java @@ -312,7 +312,9 @@ public void testVerifyIdentityInvalidHostname(TestContext ctx) { options.setHost("localhost"); MySQLConnection.connect(vertx, options).onComplete( ctx.asyncAssertFailure(err -> { - ctx.assertEquals(err.getMessage(), "No name matching localhost found"); + String expected = "No name matching localhost found"; + ctx.assertTrue(err.getMessage().contains(expected), "Was expecting <" + err.getMessage() + + "> to contain <" + expected + ">"); })); }