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/pf/content/en/htmlfontify-example.html?a=commitdiff_plain;h=f013a86219600df28414f6f26c45f01243e7c801;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) }