/brz/remove-bazaar

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

  • Committer: Vincent Ladeuil
  • Date: 2009-10-07 14:55:54 UTC
  • mto: (5247.1.1 first-try)
  • Revision ID: v.ladeuil+lp@free.fr-20091007145554-j0njl74ji5o5v6cx
Reduce the leaking http tests from ~200 to ~5.

* bzrlib/tests/test_http.py:
(WallRequestHandler._handle_one_request,
PredefinedRequestHandler._handle_one_request): Be sure to use the
proper wrapper to catch socket errors. This becomes more important
when threaded servers are used and now properly shut down.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler.handle_one_request): Use a wrapper
around the desired processing to share the socket errors handling.
(TestingHTTPServerMixin.shutdown_client): Helper to
(TestingThreadingHTTPServer): Collect clients and shut them down
properly.
Filename Latest Rev Last Changed Committer Comment Size
..
layout.html 4634.39.10 16 years ago Ian Clatworthy split developer docs into their own website/chm fi 285 bytes Diff Download File