projects/aports·blob master · refs

27 lines · 1.2 KiB

1diff --git a/tests/fast/api/test_query_progress.py b/tests/fast/api/test_query_progress.py
2index c57a88c..3d6c722 100644
3--- a/tests/fast/api/test_query_progress.py
4+++ b/tests/fast/api/test_query_progress.py
5@@ -28,11 +28,11 @@ class TestQueryProgress:
6 thread.start()
7
8 # monitor the query running in the thread, wait for progress > 0
9- # the 'for/else' is just so the test times out after 5 seconds if the
10+ # the 'for/else' is just so the test times out after 15 seconds if the
11 # query never progresses. This will also fail if the query is too
12 # quick as it will be back at -1 as soon as the query is finished.
13
14- for _ in range(500):
15+ for _ in range(1500):
16 assert thread.is_alive(), "query finished too quick"
17 if (qp1 := conn.query_progress()) > 0:
18 break
19@@ -41,7 +41,7 @@ class TestQueryProgress:
20 pytest.fail("query start timeout")
21
22 # keep monitoring and wait for the progress to increase
23- for _ in range(500):
24+ for _ in range(1500):
25 assert thread.is_alive(), "query finished too quick"
26 if (qp2 := conn.query_progress()) > qp1:
27 break