Browse Source

skip test_crash_before_compact test for RemoteRepository

it was silently failing until recently. and it can't work the way it is on RemoteRepository.
it's still active (and now even really working) for the (local) Repository tests.
Thomas Waldmann 10 năm trước cách đây
mục cha
commit
d8e9a9bf96
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      borg/testsuite/repository.py

+ 4 - 0
borg/testsuite/repository.py

@@ -328,3 +328,7 @@ class RemoteRepositoryCheckTestCase(RepositoryCheckTestCase):
 
 
     def open(self, create=False):
     def open(self, create=False):
         return RemoteRepository(Location('__testsuite__:' + os.path.join(self.tmppath, 'repository')), create=create)
         return RemoteRepository(Location('__testsuite__:' + os.path.join(self.tmppath, 'repository')), create=create)
+
+    def test_crash_before_compact(self):
+        # skip this test, we can't mock-patch a Repository class in another process!
+        pass