mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
possible less race-y startup
This commit is contained in:
parent
378ce27cbd
commit
faed2574d6
@ -259,8 +259,10 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
|
||||
self.alice_magicfolder = self.init_magicfolder(0, self.alice_upload_dircap,
|
||||
self.alice_collective_dircap,
|
||||
self.alice_magic_dir, self.alice_clock)
|
||||
d = self.alice_magicfolder.uploader.set_hook('iteration')
|
||||
self.alice_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1)
|
||||
return result
|
||||
d.addCallback(lambda ign: result)
|
||||
return d
|
||||
d.addCallback(get_Alice_magicfolder)
|
||||
|
||||
# Alice invites Bob. Bob joins.
|
||||
@ -278,8 +280,10 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
|
||||
self.bob_magicfolder = self.init_magicfolder(1, self.bob_upload_dircap,
|
||||
self.bob_collective_dircap,
|
||||
self.bob_magic_dir, self.bob_clock)
|
||||
d = self.bob_magicfolder.uploader.set_hook('iteration')
|
||||
self.bob_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1)
|
||||
return result
|
||||
d.addCallback(lambda ign: result)
|
||||
return d
|
||||
d.addCallback(get_Bob_magicfolder)
|
||||
return d
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user