From: Brian Warner Date: Tue, 10 Feb 2009 21:44:12 +0000 (-0700) Subject: tests: increase the default timeout for SystemTestMixin -based tests to 300 seconds... X-Git-Tag: allmydata-tahoe-1.3.0~43 X-Git-Url: https://git.rkrishnan.org/Site?a=commitdiff_plain;h=3b1c8ceb86215aee01e809ff544d4400f665abd3;p=tahoe-lafs%2Ftahoe-lafs.git tests: increase the default timeout for SystemTestMixin -based tests to 300 seconds, since our slower buildslaves sometimes take longer than the default 120s --- diff --git a/src/allmydata/test/common.py b/src/allmydata/test/common.py index 7c54b938..e540a283 100644 --- a/src/allmydata/test/common.py +++ b/src/allmydata/test/common.py @@ -303,6 +303,12 @@ class LoggingServiceParent(service.MultiService): class SystemTestMixin(pollmixin.PollMixin, testutil.StallMixin): + # SystemTestMixin tests tend to be a lot of work, and we have a few + # buildslaves that are pretty slow, and every once in a while these tests + # run up against the default 120 second timeout. So increase the default + # timeout. Individual test cases can override this, of course. + timeout = 300 + def setUp(self): self.sparent = service.MultiService() self.sparent.startService()