mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
bump some unit tests up to very high timeouts because my poor G4 867 MHz PowerBook, which is busy doing video iChat, takes a long time to run these tests
This commit is contained in:
parent
461d64e371
commit
137a427a47
@ -143,6 +143,7 @@ class TestIntroducer(unittest.TestCase):
|
||||
# now disconnect somebody's connection to themselves
|
||||
d.addCallback(_check_again2)
|
||||
return d
|
||||
test_system.timeout = 1200
|
||||
|
||||
def stall(self, res, timeout):
|
||||
d = defer.Deferred()
|
||||
|
@ -204,7 +204,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
|
||||
return d1
|
||||
d.addCallback(_download_nonexistent_uri)
|
||||
return d
|
||||
test_upload_and_download.timeout = 1100
|
||||
test_upload_and_download.timeout = 2400
|
||||
|
||||
def flip_bit(self, good):
|
||||
return good[:-1] + chr(ord(good[-1]) ^ 0x01)
|
||||
|
@ -38,12 +38,14 @@ class GoodServer(unittest.TestCase):
|
||||
d = self.u.upload_data(data)
|
||||
d.addCallback(self._check)
|
||||
return d
|
||||
testData.timeout = 300
|
||||
|
||||
def testFileHandle(self):
|
||||
data = "This is some data to upload"
|
||||
d = self.u.upload_filehandle(StringIO(data))
|
||||
d.addCallback(self._check)
|
||||
return d
|
||||
testFileHandle.timeout = 300
|
||||
|
||||
def testFilename(self):
|
||||
fn = "Uploader-testFilename.data"
|
||||
@ -54,6 +56,7 @@ class GoodServer(unittest.TestCase):
|
||||
d = self.u.upload_filename(fn)
|
||||
d.addCallback(self._check)
|
||||
return d
|
||||
testFilename.test = 300
|
||||
|
||||
class FullServer(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user