From 3cfc00f5cff1452d8e533a1a028585193fcafebf Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 8 Jun 2009 19:17:53 -0700 Subject: [PATCH] tests: double the timeouts on some tests which time-out on Francois's box --- src/allmydata/test/test_system.py | 2 +- src/allmydata/test/test_upload.py | 2 +- src/allmydata/test/test_util.py | 2 +- src/allmydata/test/test_web.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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): -- 2.37.2