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.
This commit is contained in:
Brian Warner 2008-01-14 22:31:41 -07:00
parent 37b7f136ce
commit 222718f13c

View File

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