/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Vincent Ladeuil
  • Date: 2009-10-08 14:34:02 UTC
  • mto: (5247.1.1 first-try)
  • Revision ID: v.ladeuil+lp@free.fr-20091008143402-b4uivhhkykn95u8v
Collect and shutdown clients for SmartTCPServer_for_testing.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin.serve): Try to avoid hanging in the server
thread, we already catch the socket.timeout exception, we may as
well use it.
(TestingThreadingHTTPServer.process_request_thread): Get rid of
the spurious pdb.set_trace().

* bzrlib/tests/__init__.py:
(ExtendedTestResult.stopTestRun): Display how many threads are
left at the end.
(TestCase._check_leaked_threads): 

* bzrlib/smart/server.py:
(SmartTCPServer.serve_conn): Return the created thread so daughter
classes can play with it.
(SmartTCPServer_for_testing.serve_conn): Collect the client
sockets/threads.
(SmartTCPServer_for_testing.shutdown_client): shutdown a client
socket.
(SmartTCPServer_for_testing.tearDown): shutdown client
sockets/threads.
Filename Latest Rev Last Changed Committer Comment Size
..
File build-packages.sh 4380.1.1 16 years ago John Ferlito Update packaging scripts to make deployment a bit 390 bytes Diff Download File
File lp-upload-release 3778.3.4 17 years ago Martin Pool lp-upload-release now handles names like bzr-1.8.t 1.6 KB Diff Download File
File update-changelogs.sh 4380.1.6 16 years ago John Ferlito Fix missing bang from first line of script 826 bytes Diff Download File
File update-control.sh 4380.1.9 16 years ago John Ferlito make script executable 866 bytes Diff Download File
File update-packaging-branches.sh 4380.1.5 16 years ago John Ferlito Fix another reference to bzr-svn/experimental 868 bytes Diff Download File