Skip to content

Commit c74b88d

Browse files
committed
Tune query progress test for macOS (1.3.2)
1 parent 345256e commit c74b88d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/duckdb/TestDuckDBJDBC.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@ public static void test_query_progress() throws Exception {
29392939
ExecutorService executorService = Executors.newSingleThreadExecutor();
29402940
Future<QueryProgress> future = executorService.submit(() -> {
29412941
try {
2942-
Thread.sleep(3500);
2942+
Thread.sleep(3000);
29432943
QueryProgress qp = stmt.getQueryProgress();
29442944
stmt.cancel();
29452945
return qp;
@@ -2953,7 +2953,7 @@ public static void test_query_progress() throws Exception {
29532953
-> stmt.executeQuery(
29542954
"WITH RECURSIVE cte AS NOT MATERIALIZED ("
29552955
+
2956-
"SELECT * from test_fib1 UNION ALL SELECT cte.i + 1, cte.f, cte.p + cte.f from cte WHERE cte.i < 150000) "
2956+
"SELECT * from test_fib1 UNION ALL SELECT cte.i + 1, cte.f, cte.p + cte.f from cte WHERE cte.i < 200000) "
29572957
+ "SELECT avg(f) FROM cte"),
29582958
SQLException.class);
29592959

0 commit comments

Comments
 (0)