Skip to content

Commit 3ba82cd

Browse files
committed
fixed r2dbc test that was using wrong property name - not supported by JDBC driver
1 parent 84050eb commit 3ba82cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse-r2dbc/src/test/java/com/clickhouse/r2dbc/spi/test/R2DBCTestKitImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private static JdbcTemplate jdbcTemplate(String database) throws SQLException {
100100
.map(Duration::toMillis).orElse(0L));
101101

102102
ZoneId zoneId = ZoneId.systemDefault();
103-
source.addDataSourceProperty("serverTimezone", TimeZone.getTimeZone(zoneId).getID());
103+
source.addDataSourceProperty("server_time_zone", TimeZone.getTimeZone(zoneId).getID());
104104

105105
return new JdbcTemplate(source);
106106
}

0 commit comments

Comments
 (0)