Skip to content

Commit ebebda5

Browse files
committed
fix test
1 parent af0454b commit ebebda5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clickhouse-jdbc/src/test/java/com/clickhouse/jdbc/ClickHouseStatementTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,9 @@ public void testWrapperObject() throws SQLException {
834834

835835
@Test(groups = "integration")
836836
public void testQuerySystemLog() throws SQLException {
837-
try (ClickHouseConnection conn = newConnection(new Properties())) {
837+
Properties props = new Properties();
838+
props.setProperty(ClickHouseClientOption.RESULT_OVERFLOW_MODE.getKey(), "break");
839+
try (ClickHouseConnection conn = newConnection(props)) {
838840
ClickHouseStatement stmt = conn.createStatement();
839841
stmt.setMaxRows(10);
840842
stmt.setLargeMaxRows(11L);

0 commit comments

Comments
 (0)