From: Zooko O'Whielacronx Date: Tue, 9 Jun 2009 02:17:53 +0000 (-0700) Subject: tests: double the timeouts on some tests which time-out on Francois's box X-Git-Tag: trac-4000~96 X-Git-Url: https://git.rkrishnan.org/simplejson/encoder.py.html?a=commitdiff_plain;h=3cfc00f5cff1452d8e533a1a028585193fcafebf;p=tahoe-lafs%2Ftahoe-lafs.git tests: double the timeouts on some tests which time-out on Francois's box --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index d85344c7..0b7b2714 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -63,7 +63,7 @@ class GrabEverythingConsumer: pass class SystemTest(SystemTestMixin, unittest.TestCase): - timeout = 480 # It takes longer than 240 seconds on Francois's arm box. + timeout = 960 # It takes longer than 480 seconds on Francois's arm box. def test_connections(self): self.basedir = "system/SystemTest/test_connections" diff --git a/src/allmydata/test/test_upload.py b/src/allmydata/test/test_upload.py index bea4ebdb..50c3514b 100644 --- a/src/allmydata/test/test_upload.py +++ b/src/allmydata/test/test_upload.py @@ -22,7 +22,7 @@ MiB = 1024*1024 def extract_uri(results): return results.uri -timeout = 240 # Most of these take longer than 120 seconds on Francois's arm box. +timeout = 480 # Some of these take longer than 240 seconds on Francois's arm box. class Uploadable(unittest.TestCase): def shouldEqual(self, data, expected): diff --git a/src/allmydata/test/test_util.py b/src/allmydata/test/test_util.py index 68aca072..ca64b1f4 100644 --- a/src/allmydata/test/test_util.py +++ b/src/allmydata/test/test_util.py @@ -689,7 +689,7 @@ class Abbreviate(unittest.TestCase): self.failUnless("12 cubits" in str(e)) class Limiter(unittest.TestCase): - timeout = 240 # This takes longer than 120 seconds on Francois's arm box. + timeout = 480 # This takes longer than 240 seconds on Francois's arm box. def job(self, i, foo): self.calls.append( (i, foo) ) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 60e31b30..846c29b4 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -29,7 +29,7 @@ from allmydata.test.common_web import HTTPClientGETFactory, \ # create a fake uploader/downloader, and a couple of fake dirnodes, then # create a webserver that works against them -timeout = 240 # Most of these take longer than 120 seconds on Francois's arm box. +timeout = 480 # Most of these take longer than 240 seconds on Francois's arm box. class FakeIntroducerClient: def get_all_connectors(self):