From: Zooko O'Whielacronx Date: Tue, 1 May 2007 04:04:26 +0000 (-0700) Subject: foolscap snapshot: bump some unit tests up to very high timeouts because my poor... X-Git-Tag: allmydata-tahoe-0.2.0~37 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/(%5B%5E?a=commitdiff_plain;h=eebc32f48d9107641a4806543590ead2b971dbc6;p=tahoe-lafs%2Ftahoe-lafs.git foolscap snapshot: 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 --- diff --git a/src/foolscap/foolscap/test/test_crypto.py b/src/foolscap/foolscap/test/test_crypto.py index acf2b8ce..54b6f9bf 100644 --- a/src/foolscap/foolscap/test/test_crypto.py +++ b/src/foolscap/foolscap/test/test_crypto.py @@ -78,7 +78,7 @@ class TestPersist(UsefulMixin, unittest.TestCase): d = defer.maybeDeferred(s1.stopService) d.addCallback(self._testPersist_1, s1, s2, t1, public_url, port) return d - testPersist.timeout = 5 + testPersist.timeout = 10 def _testPersist_1(self, res, s1, s2, t1, public_url, port): self.services.remove(s1) s3 = Tub(certData=s1.getCertData()) @@ -161,7 +161,7 @@ class TestListeners(UsefulMixin, unittest.TestCase): d.addCallback(lambda ref: ref.callRemote('add', a=2, b=2)) d.addCallback(self._testShared_1) return d - testShared.timeout = 5 + testShared.timeout = 10 def _testShared_1(self, res): t1,t2 = self.targets self.failUnlessEqual(t1.calls, [(1,1)])