From: Zooko O'Whielacronx Date: Mon, 8 Jun 2009 22:55:57 +0000 (-0700) Subject: tests: bump up timeouts so that the tests can finish before timeout on Francois's... X-Git-Tag: trac-4000~97 X-Git-Url: https://git.rkrishnan.org/configuration.rst?a=commitdiff_plain;h=0bc116b3a2580d89b9e581be8647429ab8a0a99e;p=tahoe-lafs%2Ftahoe-lafs.git tests: bump up timeouts so that the tests can finish before timeout on Francois's little arm box --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 8c8f7991..d85344c7 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 = 240 # It takes longer than 120 seconds on Francois's arm box. + timeout = 480 # It takes longer than 240 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 4d0f764f..bea4ebdb 100644 --- a/src/allmydata/test/test_upload.py +++ b/src/allmydata/test/test_upload.py @@ -22,6 +22,8 @@ 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. + class Uploadable(unittest.TestCase): def shouldEqual(self, data, expected): self.failUnless(isinstance(data, list)) diff --git a/src/allmydata/test/test_util.py b/src/allmydata/test/test_util.py index 2ae2667e..68aca072 100644 --- a/src/allmydata/test/test_util.py +++ b/src/allmydata/test/test_util.py @@ -689,6 +689,8 @@ 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. + def job(self, i, foo): self.calls.append( (i, foo) ) self.simultaneous += 1 diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 2cccb27d..60e31b30 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -29,6 +29,8 @@ 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. + class FakeIntroducerClient: def get_all_connectors(self): return {}