Skip to content

Commit 9bbfd3a

Browse files
committed
Fix test_parallel
1 parent c7bd95a commit 9bbfd3a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_parallel.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@
2020

2121

2222
def run_query(query, fmt):
23-
res = chdb.query(query, "JSON")
23+
res = chdb.query(query, fmt)
2424
# print(res)
2525
if len(res) < 100:
2626
print(f"Error: result size is not correct {len(res)}")
2727
# exit(1)
2828

2929

3030
def run_queries(query, fmt, count=query_count):
31-
for _ in range(count):
31+
for i in range(count):
32+
if i % 5 == 0:
33+
print(f"Running {i} queries")
3234
run_query(query, fmt)
3335

3436

0 commit comments

Comments
 (0)