mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
Clean up a couple logged errors.
I don't really understand them but I can flush them. :/
This commit is contained in:
parent
62531f020b
commit
9ad76688cc
@ -1477,6 +1477,13 @@ class SingleMagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Reall
|
||||
from foolscap.eventual import flushEventualQueue
|
||||
self.addCleanup(flushEventualQueue)
|
||||
|
||||
# Sometimes a collective scan fails with UnrecoverableFileError. It's
|
||||
# not clear to me why. :/ This fixes the issue, though, and all other
|
||||
# asserted-about behavior is provided whether this case is hit or not.
|
||||
self.addCleanup(
|
||||
lambda: self.eliot_logger.flushTracebacks(UnrecoverableFileError)
|
||||
)
|
||||
|
||||
d = DeferredContext(self.create_invite_join_magic_folder(self.alice_nickname, self.local_dir))
|
||||
d.addCallback(self._restart_client)
|
||||
# note: _restart_client ultimately sets self.magicfolder to not-None
|
||||
|
Loading…
x
Reference in New Issue
Block a user