From: Brian Warner Date: Thu, 8 May 2008 20:42:42 +0000 (-0700) Subject: test_dirnode: the size of the directories varies, tolerate it as low as 500 bytes X-Git-Tag: allmydata-tahoe-1.1.0~143 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/using.html?a=commitdiff_plain;h=a1ea3d9b376017bd6c715fd199df206c066e3a20;p=tahoe-lafs%2Ftahoe-lafs.git test_dirnode: the size of the directories varies, tolerate it as low as 500 bytes --- diff --git a/src/allmydata/test/test_dirnode.py b/src/allmydata/test/test_dirnode.py index e686ca9a..c07474f8 100644 --- a/src/allmydata/test/test_dirnode.py +++ b/src/allmydata/test/test_dirnode.py @@ -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)