test: multiple by 10 or so all timeouts that Zandr's ARM box just overran

This commit is contained in:
Zooko O'Whielacronx 2009-06-10 05:56:39 -07:00
parent bdfb80834f
commit 69a3b23b34
4 changed files with 6 additions and 9 deletions

View File

@ -20,9 +20,9 @@ from allmydata.test.common import ErrorMixin, _corrupt_mutable_share_data, \
from allmydata.test.common_util import StallMixin
from allmydata.test.no_network import GridTestMixin
class MutableChecker(GridTestMixin, unittest.TestCase, ErrorMixin):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
timeout = 960 # Most of these take longer than 340 seconds on Zand's ARM box.
class MutableChecker(GridTestMixin, unittest.TestCase, ErrorMixin):
def _run_cli(self, argv):
stdout, stderr = StringIO(), StringIO()
# this can only do synchronous operations
@ -832,8 +832,6 @@ class DeepCheckWebGood(DeepCheckBase, unittest.TestCase):
class DeepCheckWebBad(DeepCheckBase, unittest.TestCase):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def test_bad(self):
self.basedir = "deepcheck/DeepCheckWebBad/bad"
self.set_up_grid()
@ -1161,7 +1159,6 @@ class DeepCheckWebBad(DeepCheckBase, unittest.TestCase):
return d
class Large(DeepCheckBase, unittest.TestCase):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def test_lots_of_lits(self):
self.basedir = "deepcheck/Large/lots_of_lits"
self.set_up_grid()

View File

@ -774,7 +774,7 @@ class UCWEingNewDirectoryNode(dirnode.NewDirectoryNode):
class Deleter(GridTestMixin, unittest.TestCase):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
timeout = 3600 # It takes longer than 433 seconds on Zandr's ARM box.
def test_retry(self):
# ticket #550, a dirnode.delete which experiences an
# UncoordinatedWriteError will fail with an incorrect "you're

View File

@ -68,7 +68,7 @@ mutable_shares = {
#--------- END stored_shares.py ----------------
class DownloadTest(GridTestMixin, unittest.TestCase):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
timeout = 2400 # It takes longer than 240 seconds on Zandr's ARM box.
def test_download(self):
self.basedir = self.mktemp()
self.set_up_grid()

View File

@ -271,7 +271,7 @@ class ValidatedExtendedURIProxy(unittest.TestCase):
return defer.DeferredList(dl)
class Encode(unittest.TestCase):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
timeout = 2400 # It takes longer than 240 seconds on Zandr's ARM box.
def do_encode(self, max_segment_size, datalen, NUM_SHARES, NUM_SEGMENTS,
expected_block_hashes, expected_share_hashes):
@ -418,7 +418,7 @@ class StoppingTarget(PausingTarget):
self.producer.stopProducing()
class Roundtrip(unittest.TestCase, testutil.ShouldFailMixin):
timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
timeout = 2400 # It takes longer than 240 seconds on Zandr's ARM box.
def send_and_recover(self, k_and_happy_and_n=(25,75,100),
AVAILABLE_SHARES=None,
datalen=76,