Skip to content

Commit 468793d

Browse files
committed
Upgrade CI to JDK 25
1 parent dc847bb commit 468793d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest]
1919
profile: [PostgreSQL-9,PostgreSQL-10,PostgreSQL-11,MySQL-8.0,MySQL-5.6,MySQL-5.7,MariaDB-10.4,MSSQL-2017-latest,MSSQL-2019-latest,DB2-11.5,Oracle-23,SQL-templates]
20-
jdk: [8, 17]
20+
jdk: [8, 25]
2121
exclude:
2222
- profile: Oracle-23
2323
jdk: 8
2424
- profile: DB2-11.5
25-
jdk: 17
25+
jdk: 25
2626
fail-fast: false
2727
runs-on: ${{ matrix.os }}
2828
steps:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ public void testTLSInvalidHostname(TestContext ctx) {
277277
.setCertPath("tls/files/client-cert.pem")
278278
.setKeyPath("tls/files/client-key.pem")),
279279
ctx.asyncAssertFailure(err -> {
280-
ctx.assertEquals(err.getMessage(), "No name matching localhost found");
280+
String expected = "No name matching localhost found";
281+
ctx.assertTrue(err.getMessage().contains(expected), "Expecting <" + err.getMessage() + "> to contain <" + expected + ">");
281282
}));
282283
}
283284

0 commit comments

Comments
 (0)