-
Committer:
Vincent Ladeuil
-
Date:
2010-06-07 09:44:26 UTC
-
mto:
(5247.6.1 http-leaks)
-
mto:
This revision was merged to the branch mainline in
revision
5396.
-
Revision ID:
v.ladeuil+lp@free.fr-20100607094426-fwsjn2x91965lufu
Fix exception raising only once for a given ThreadWithException.
* bzrlib/tests/test_test_server.py:
(TestTCPServerInAThread): Check that we can caught an exception
raised while serving.
* bzrlib/tests/test_server.py:
(ThreadWithException.join): Fix typo.
(TestingTCPServer._pending_exception)
(TestingThreadingTCPServer._pending_exception): Check pending
exception in involved threads.
(TestingTCPServerInAThread.pending_exception): Forward exception
check to server and its optional threads.