tests: bump up timeouts so that the tests can finish before timeout on Francois's little arm box

This commit is contained in:
Zooko O'Whielacronx 2009-06-08 15:55:57 -07:00
parent c3e9d36d97
commit 0bc116b3a2
4 changed files with 7 additions and 1 deletions

View File

@ -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"

View File

@ -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))

View File

@ -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

View File

@ -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 {}