~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4731.2.4.

  • Committer: Vincent Ladeuil
  • Date: 2009-10-07 15:17:48 UTC
  • mto: (5247.1.1 first-try)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20091007151748-lcg3ehht39963izr
No more leaks in http tests.

* bzrlib/tests/test_http.py:
(RecordingServer.setUp, RecordingServer.TearDown): Reclaim leaked
thread by forcing a connection if none has been issued and
modifying the server to cope with it. Also delete the dead thread.

* bzrlib/tests/http_server.py:
(TestingThreadingHTTPServer.shutdown, HttpServer.tearDown): Delete
dead thread.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: