From: Brian Warner <warner@allmydata.com>
Date: Tue, 15 Jan 2008 05:31:41 +0000 (-0700)
Subject: test_GET_DIRURL_large: reduce from 400 to 200 children: the test fails to
X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=222718f13ce6b5966788fb6299506616c6694950;p=tahoe-lafs%2Ftahoe-lafs.git

test_GET_DIRURL_large: reduce from 400 to 200 children: the test fails to
fail anyways, and 200 ought to be enough to trigger the problem, so 400 is
overkill, and just wastes CPU.
---

diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py
index 0932978b..feb4ba36 100644
--- a/src/allmydata/test/test_web.py
+++ b/src/allmydata/test/test_web.py
@@ -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)