From a1ea3d9b376017bd6c715fd199df206c066e3a20 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 8 May 2008 13:42:42 -0700 Subject: [PATCH] test_dirnode: the size of the directories varies, tolerate it as low as 500 bytes --- src/allmydata/test/test_dirnode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2