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.
def _run_cli(self, argv):
stdout, stderr = StringIO(), StringIO()
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"
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()
class Dirnode(unittest.TestCase,
testutil.ShouldFailMixin, testutil.StallMixin, ErrorMixin):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def setUp(self):
self.client = FakeClient()
return d
class DeepStats(unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def test_stats(self):
ds = dirnode.DeepStats(None)
ds.add("count-files")
class Deleter(GridTestMixin, unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def test_retry(self):
# ticket #550, a dirnode.delete which experiences an
# UncoordinatedWriteError will fail with an incorrect "you're
#--------- END stored_shares.py ----------------
class DownloadTest(GridTestMixin, unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def test_download(self):
self.basedir = self.mktemp()
self.set_up_grid()
return data[:length]
class ValidatedExtendedURIProxy(unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
K = 4
M = 10
SIZE = 200
return defer.DeferredList(dl)
class Encode(unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def do_encode(self, max_segment_size, datalen, NUM_SHARES, NUM_SEGMENTS,
expected_block_hashes, expected_share_hashes):
self.producer.stopProducing()
class Roundtrip(unittest.TestCase, testutil.ShouldFailMixin):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def send_and_recover(self, k_and_happy_and_n=(25,75,100),
AVAILABLE_SHARES=None,
datalen=76,
return uploader.upload(u)
class AssistedUpload(unittest.TestCase):
+ timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
def setUp(self):
self.s = FakeClient()
self.s.startService()