From: Daira Hopwood Date: Mon, 28 Dec 2015 15:28:05 +0000 (+0000) Subject: Teach StorageFarmBroker to fire a deferred when a connection threshold is reached... X-Git-Url: https://git.rkrishnan.org/components/architecture.txt?a=commitdiff_plain;h=7c0720542ddb3fc51c7c50af9e78c0a27a39d77f;p=tahoe-lafs%2Ftahoe-lafs.git Teach StorageFarmBroker to fire a deferred when a connection threshold is reached. refs #1449 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index 04664ad2..8a2ca24c 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -263,7 +263,7 @@ class Basic(testutil.ReallyEqualMixin, testutil.NonASCIIPathMixin, unittest.Test self.failUnlessReallyEqual(self._permute(sb, "one"), []) def test_permute_with_preferred(self): - sb = StorageFarmBroker(None, True, ['1','4']) + sb = StorageFarmBroker(None, True, 0, None, ['1','4']) for k in ["%d" % i for i in range(5)]: ann = {"anonymous-storage-FURL": "pb://abcde@nowhere/fake", "permutation-seed-base32": base32.b2a(k) }