mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
Don't assume the result is immediately available
This commit is contained in:
parent
c6b4b9eb29
commit
7f53f40d76
@ -424,7 +424,7 @@ class Check(GridTestMixin, CLITestMixin, unittest.TestCase):
|
|||||||
def _stash_uri(n):
|
def _stash_uri(n):
|
||||||
self.uriList.append(n.get_uri())
|
self.uriList.append(n.get_uri())
|
||||||
d.addCallback(_stash_uri)
|
d.addCallback(_stash_uri)
|
||||||
d = c0.create_dirnode()
|
d.addCallback(lambda _: c0.create_dirnode())
|
||||||
d.addCallback(_stash_uri)
|
d.addCallback(_stash_uri)
|
||||||
|
|
||||||
d.addCallback(lambda ign: self.do_cli("check", self.uriList[0], self.uriList[1]))
|
d.addCallback(lambda ign: self.do_cli("check", self.uriList[0], self.uriList[1]))
|
||||||
|
Loading…
Reference in New Issue
Block a user