Rev 6499: (gz) Treat spurious error on test case in per_interrepository as an expected in file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/2.5/

Patch Queue Manager pqm at pqm.ubuntu.com
Mon Apr 30 12:03:55 UTC 2012


At file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/2.5/

------------------------------------------------------------
revno: 6499 [merge]
revision-id: pqm at pqm.ubuntu.com-20120430120355-6p7y3j6trxi9mpdv
parent: pqm at pqm.ubuntu.com-20120430113758-w9ifye5bbp4evkoa
parent: martin.packman at canonical.com-20120403144507-42m0u0k7q64kunby
committer: Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: 2.5
timestamp: Mon 2012-04-30 12:03:55 +0000
message:
  (gz) Treat spurious error on test case in per_interrepository as an expected
   failure (Martin Packman)
modified:
  bzrlib/tests/per_interrepository/test_fetch.py test_fetch.py-20080425213627-j60cjh782ufm83ry-1
=== modified file 'bzrlib/tests/per_interrepository/test_fetch.py'
--- a/bzrlib/tests/per_interrepository/test_fetch.py	2011-12-05 14:12:23 +0000
+++ b/bzrlib/tests/per_interrepository/test_fetch.py	2012-04-03 14:45:07 +0000
@@ -179,7 +179,10 @@
     def test_fetch_parent_inventories_at_stacking_boundary_smart_old(self):
         self.setup_smart_server_with_call_log()
         self.disable_verb('Repository.insert_stream_1.19')
-        self.test_fetch_parent_inventories_at_stacking_boundary()
+        try:
+            self.test_fetch_parent_inventories_at_stacking_boundary()
+        except errors.ConnectionReset:
+            self.knownFailure("Random spurious failure, see bug 874153")
 
     def test_fetch_parent_inventories_at_stacking_boundary(self):
         """Fetch to a stacked branch copies inventories for parents of




More information about the bazaar-commits mailing list