Description: Mark randomly failing test in per_interrepository using knownFailure when ConnectionReset is raised
Origin: commit, revision id: martin.packman@canonical.com-20120403144507-42m0u0k7q64kunby
Author: Martin Packman <martin.packman@canonical.com>
Bug: https://launchpad.net/bugs/874153
Last-Update: 2012-04-03
X-Bzr-Revision-Id: martin.packman@canonical.com-20120403144507-42m0u0k7q64kunby

=== modified file 'bzrlib/tests/per_interrepository/test_fetch.py'
--- old/bzrlib/tests/per_interrepository/test_fetch.py	2011-12-05 14:12:23 +0000
+++ new/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

