From: Brian Warner Date: Wed, 6 Aug 2008 17:38:50 +0000 (-0700) Subject: test_mutable: add comment about minimal-bandwidth repairer, comma lack of X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/frontends?a=commitdiff_plain;h=572115a40502633bb312551a71cdd6b56c501922;p=tahoe-lafs%2Ftahoe-lafs.git test_mutable: add comment about minimal-bandwidth repairer, comma lack of --- diff --git a/src/allmydata/test/test_mutable.py b/src/allmydata/test/test_mutable.py index efa8fcf6..33f33c7e 100644 --- a/src/allmydata/test/test_mutable.py +++ b/src/allmydata/test/test_mutable.py @@ -1308,6 +1308,10 @@ class Repair(unittest.TestCase, PublishMixin): # TODO: examine results new_shares = self.get_shares(self._storage) + # TODO: this really shouldn't change anything. When we implement + # a "minimal-bandwidth" repairer", change this test to assert: + #self.failUnlessEqual(new_shares, initial_shares) + # all shares should be in the same place as before self.failUnlessEqual(set(self.initial_shares.keys()), set(new_shares.keys()))