Rev 6158: Update some test comment. in http://bazaar.launchpad.net/~jameinel/bzr/drop-idle-connections-824797

John Arbash Meinel john at arbash-meinel.com
Thu Sep 15 12:06:25 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/drop-idle-connections-824797

------------------------------------------------------------
revno: 6158
revision-id: john at arbash-meinel.com-20110915120611-41tovapwsa62bz3u
parent: john at arbash-meinel.com-20110915120323-1trvuysr9uyk3rhr
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: drop-idle-connections-824797
timestamp: Thu 2011-09-15 14:06:11 +0200
message:
  Update some test comment.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_serve.py'
--- a/bzrlib/tests/blackbox/test_serve.py	2011-09-15 11:48:30 +0000
+++ b/bzrlib/tests/blackbox/test_serve.py	2011-09-15 12:06:11 +0000
@@ -278,6 +278,9 @@
         self.assertEqual('contents\n', t.get_bytes())
         # However, if we just wait for more content from the server, it will
         # eventually disconnect us.
+        # TODO: Use something like signal.alarm() so that if the server doesn't
+        #       properly handle the timeout, we end up failing the test instead
+        #       of hanging forever.
         m = t.get_smart_medium()
         m.read_bytes()
         # Now, we wait for timeout to trigger



More information about the bazaar-commits mailing list