From 654e54d200135e665e07e9f0097d913a77f169da Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 7 Jun 2010 20:01:02 +0200 Subject: task: Fixed incorrect handling of channel closure. Performance is alright for up to 2 threads, but 4 are killing the queue --- test/git/async/test_pool.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/git/async/test_pool.py') diff --git a/test/git/async/test_pool.py b/test/git/async/test_pool.py index 791f89d4..19e86a9a 100644 --- a/test/git/async/test_pool.py +++ b/test/git/async/test_pool.py @@ -246,6 +246,10 @@ class TestThreadPool(TestBase): p.set_size(2) self._assert_single_task(p, True) + # kill it + p.set_size(4) + self._assert_single_task(p, True) + # DEPENDENT TASK ASYNC MODE ########################### self._assert_async_dependent_tasks(p) -- cgit v1.2.1