summaryrefslogtreecommitdiff
path: root/test/git/async/test_pool.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-09 14:47:41 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-09 14:50:39 +0200
commit0974f8737a3c56a7c076f9d0b757c6cb106324fb (patch)
treed05394903b8dfc63e34806bac7bccb700628a531 /test/git/async/test_pool.py
parent4e6bece08aea01859a232e99a1e1ad8cc1eb7d36 (diff)
downloadgitpython-0974f8737a3c56a7c076f9d0b757c6cb106324fb.tar.gz
Channel: Read method revised - now it really really doesn't block anymore, and it runs faster as well, about 2/3 of the performance we have when being in serial mode
Diffstat (limited to 'test/git/async/test_pool.py')
-rw-r--r--test/git/async/test_pool.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/git/async/test_pool.py b/test/git/async/test_pool.py
index cccafddc..202fdb66 100644
--- a/test/git/async/test_pool.py
+++ b/test/git/async/test_pool.py
@@ -57,6 +57,10 @@ class TestThreadTaskNode(InputIteratorThreadTask):
return self
+class TestThreadFailureNode(TestThreadTaskNode):
+ """Fails after X items"""
+
+
class TestThreadPool(TestBase):
max_threads = cpu_count()