| 1 |
From: Michael Fladischer <[email protected]> |
| 2 |
Date: Mon, 21 Sep 2026 15:58:49 +0000 |
| 3 |
Subject: Increase timeout when fetching result, |
| 4 |
so tests also pass on weaker architectures. |
| 5 |
|
| 6 |
--- |
| 7 |
t/unit/test_pool.py | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/t/unit/test_pool.py b/t/unit/test_pool.py |
| 11 |
index ea26321..cc0199e 100644 |
| 12 |
--- a/t/unit/test_pool.py |
| 13 |
+++ b/t/unit/test_pool.py |
| 14 |
@@ -128,7 +128,7 @@ class test_pool: |
| 15 |
def test_on_ready_counter_is_synchronized(self): |
| 16 |
for ctx in ('spawn', 'fork', 'forkserver'): |
| 17 |
pool = billiard.pool.Pool(processes=1, context=get_context(ctx)) |
| 18 |
- pool.apply_async(func, (1,)).get(1) |
| 19 |
+ pool.apply_async(func, (1,)).get(10) |
| 20 |
on_ready_counter = pool.apply_async(get_on_ready_count, ).get(1) |
| 21 |
assert on_ready_counter == 1 |
| 22 |
pool.close() |