]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_GET_DIRURL_large: reduce from 400 to 200 children: the test fails to
authorBrian Warner <warner@allmydata.com>
Tue, 15 Jan 2008 05:31:41 +0000 (22:31 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 15 Jan 2008 05:31:41 +0000 (22:31 -0700)
fail anyways, and 200 ought to be enough to trigger the problem, so 400 is
overkill, and just wastes CPU.

src/allmydata/test/test_web.py

index 0932978bcfc665af203d34fbd84fdb74cc6f7c66..feb4ba361a55ab0bd8e5c4c5c376d4b5e3db1914 100644 (file)
@@ -639,7 +639,7 @@ class Web(WebMixin, unittest.TestCase):
         # actually works), but it isn't yet failing for me.
 
         d = self.s.create_empty_dirnode()
-        COUNT = 400
+        COUNT = 200
         def _created(dirnode):
             entries = [ (str(i), self._foo_uri) for i in range(COUNT) ]
             d2 = dirnode.set_uris(entries)