projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ae7a2
)
test_dirnode: the size of the directories varies, tolerate it as low as 500 bytes
author
Brian Warner
<warner@allmydata.com>
Thu, 8 May 2008 20:42:42 +0000
(13:42 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 8 May 2008 20:42:42 +0000
(13:42 -0700)
src/allmydata/test/test_dirnode.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_dirnode.py
b/src/allmydata/test/test_dirnode.py
index e686ca9ab0a842002b0ec2bc7912fd5bfe86978a..c07474f85677e67e7a91cbf0a96a3134583f3f1f 100644
(file)
--- 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"] >
6
00,
+ self.failUnless(stats["size-directories"] >
5
00,
stats["size-directories"])
- self.failUnless(stats["largest-directory"] >
6
00,
+ self.failUnless(stats["largest-directory"] >
5
00,
stats["largest-directory"])
d.addCallback(_check_deepstats)