Skip to content

Commit 6062dbf

Browse files
committed
Upgrade CI to JDK 25
1 parent 21a6ba2 commit 6062dbf

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/ci-4.x.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ jobs:
4141
jdk: 8
4242
profile: 'SQL-templates'
4343
- os: ubuntu-latest
44-
jdk: 17
44+
jdk: 25
4545
profile: 'PostgreSQL-11'
4646
- os: ubuntu-latest
47-
jdk: 17
47+
jdk: 25
4848
profile: 'MySQL-5.7'
4949
- os: ubuntu-latest
50-
jdk: 17
50+
jdk: 25
5151
profile: 'MariaDB-10.4'
5252
- os: ubuntu-latest
53-
jdk: 17
53+
jdk: 25
5454
profile: 'MSSQL-2019-latest'
5555
- os: ubuntu-latest
56-
jdk: 17
56+
jdk: 25
5757
profile: 'Oracle-23'
5858
uses: ./.github/workflows/ci.yml
5959
with:

.github/workflows/ci-matrix-5.x.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ jobs:
4444
jdk: 11
4545
profile: 'SQL-templates'
4646
- os: ubuntu-latest
47-
jdk: 21
47+
jdk: 25
4848
profile: 'PostgreSQL-11'
4949
- os: ubuntu-latest
50-
jdk: 21
50+
jdk: 25
5151
profile: 'MySQL-5.7'
5252
- os: ubuntu-latest
53-
jdk: 21
53+
jdk: 25
5454
profile: 'MariaDB-10.4'
5555
- os: ubuntu-latest
56-
jdk: 21
56+
jdk: 25
5757
profile: 'MSSQL-2019-latest'
5858
- os: ubuntu-latest
59-
jdk: 21
59+
jdk: 25
6060
profile: 'Oracle-23'
6161
uses: ./.github/workflows/ci.yml
6262
with:

vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/MySQLTLSTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,9 @@ public void testVerifyIdentityInvalidHostname(TestContext ctx) {
312312
options.setHost("localhost");
313313

314314
MySQLConnection.connect(vertx, options).onComplete( ctx.asyncAssertFailure(err -> {
315-
ctx.assertEquals(err.getMessage(), "No name matching localhost found");
315+
String expected = "No name matching localhost found";
316+
ctx.assertTrue(err.getMessage().contains(expected), "Was expecting <" + err.getMessage() +
317+
"> to contain <" + expected + ">");
316318
}));
317319
}
318320

0 commit comments

Comments
 (0)