Skip to content

Commit 72e0d71

Browse files
author
Paultagoras
committed
Update StatementTest.java
1 parent cdd350d commit 72e0d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/StatementTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public void testExecuteQueryTimeout() throws Exception {
322322
try (Statement stmt = conn.createStatement()) {
323323
stmt.setQueryTimeout(1);
324324
assertThrows(SQLException.class, () -> {
325-
try (ResultSet rs = stmt.executeQuery("SELECT sleep(2)")) {
325+
try (ResultSet rs = stmt.executeQuery("SELECT sleep(5)")) {
326326
assertFalse(rs.next());
327327
}
328328
});

0 commit comments

Comments
 (0)