Commit 7ad9593 1 parent 62450ec commit 7ad9593 Copy full SHA for 7ad9593
File tree 1 file changed +8
-6
lines changed
catalogs/catalog-jdbc-mysql/src/test/java/org/apache/gravitino/catalog/mysql/integration/test
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -285,9 +285,10 @@ void testTestConnection() throws SQLException {
285
285
catalogProperties .put (
286
286
JdbcConfig .JDBC_URL .getKey (),
287
287
StringUtils .substring (
288
- MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ),
289
- 0 ,
290
- MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ).lastIndexOf ("/" )));
288
+ MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ),
289
+ 0 ,
290
+ MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ).lastIndexOf ("/" ))
291
+ + "?useSSL=false" );
291
292
catalogProperties .put (
292
293
JdbcConfig .JDBC_DRIVER .getKey (), MYSQL_CONTAINER .getDriverClassName (TEST_DB_NAME ));
293
294
catalogProperties .put (JdbcConfig .USERNAME .getKey (), MYSQL_CONTAINER .getUsername ());
@@ -2056,9 +2057,10 @@ void testAlterCatalogProperties() throws SQLException {
2056
2057
catalogProperties .put (
2057
2058
JdbcConfig .JDBC_URL .getKey (),
2058
2059
StringUtils .substring (
2059
- MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ),
2060
- 0 ,
2061
- MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ).lastIndexOf ("/" )));
2060
+ MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ),
2061
+ 0 ,
2062
+ MYSQL_CONTAINER .getJdbcUrl (TEST_DB_NAME ).lastIndexOf ("/" ))
2063
+ + "?useSSL=false" );
2062
2064
catalogProperties .put (
2063
2065
JdbcConfig .JDBC_DRIVER .getKey (), MYSQL_CONTAINER .getDriverClassName (TEST_DB_NAME ));
2064
2066
catalogProperties .put (JdbcConfig .USERNAME .getKey (), MYSQL_CONTAINER .getUsername ());
You can’t perform that action at this time.
0 commit comments