From eebc32f48d9107641a4806543590ead2b971dbc6 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 30 Apr 2007 21:04:26 -0700 Subject: [PATCH] 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 --- src/foolscap/foolscap/test/test_crypto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)]) -- 2.45.2