diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-07 20:01:02 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-07 20:01:02 +0200 |
| commit | 654e54d200135e665e07e9f0097d913a77f169da (patch) | |
| tree | cec8f92af95dc773985e824f6f6bca136f1a0480 /test | |
| parent | 583cd8807259a69fc01874b798f657c1f9ab7828 (diff) | |
| download | GitPython-654e54d200135e665e07e9f0097d913a77f169da.tar.gz GitPython-654e54d200135e665e07e9f0097d913a77f169da.zip | |
task: Fixed incorrect handling of channel closure. Performance is alright for up to 2 threads, but 4 are killing the queue
Diffstat (limited to 'test')
| -rw-r--r-- | test/git/async/test_pool.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |
