mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-22 00:41:53 +00:00
rearrange service startup a bit, now Node.startService() returns a Deferred that fires when the tub is actually ready, and there is also a Node.when_tub_ready() hook. This allows get_local_addresses() to be slow and not break everything. Changed all necessary test cases to accomodate this slow startup.
This commit is contained in:
@ -21,7 +21,8 @@ class StorageTest(unittest.TestCase):
|
||||
self.node.setServiceParent(self.svc)
|
||||
self.tub = Tub()
|
||||
self.tub.setServiceParent(self.svc)
|
||||
return self.svc.startService()
|
||||
self.svc.startService()
|
||||
return self.node.when_tub_ready()
|
||||
|
||||
def test_create_bucket(self):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user