mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-21 16:39:38 +00:00
PollMixin: snoop trial's error observer to halt the test early if an error is seen. This turns a lot of timeouts into fast failures.
This commit is contained in:
@ -2302,6 +2302,10 @@ class LeaseCrawler(unittest.TestCase, pollmixin.PollMixin, WebRenderingMixin):
|
||||
return d
|
||||
|
||||
def test_share_corruption(self):
|
||||
self._poll_should_ignore_these_errors = [
|
||||
UnknownMutableContainerVersionError,
|
||||
UnknownImmutableContainerVersionError,
|
||||
]
|
||||
basedir = "storage/LeaseCrawler/share_corruption"
|
||||
fileutil.make_dirs(basedir)
|
||||
ss = InstrumentedStorageServer(basedir, "\x00" * 20)
|
||||
|
Reference in New Issue
Block a user