]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_dirnode: the size of the directories varies, tolerate it as low as 500 bytes
authorBrian Warner <warner@allmydata.com>
Thu, 8 May 2008 20:42:42 +0000 (13:42 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 8 May 2008 20:42:42 +0000 (13:42 -0700)
src/allmydata/test/test_dirnode.py

index e686ca9ab0a842002b0ec2bc7912fd5bfe86978a..c07474f85677e67e7a91cbf0a96a3134583f3f1f 100644 (file)
@@ -226,9 +226,9 @@ class Dirnode(unittest.TestCase, testutil.ShouldFailMixin, testutil.StallMixin):
                     self.failUnlessEqual(stats[k], v,
                                          "stats[%s] was %s, not %s" %
                                          (k, stats[k], v))
-                self.failUnless(stats["size-directories"] > 600,
+                self.failUnless(stats["size-directories"] > 500,
                                 stats["size-directories"])
-                self.failUnless(stats["largest-directory"] > 600,
+                self.failUnless(stats["largest-directory"] > 500,
                                 stats["largest-directory"])
             d.addCallback(_check_deepstats)