tests: increase the default timeout for SystemTestMixin -based tests to 300 seconds, since our slower buildslaves sometimes take longer than the default 120s

This commit is contained in:
Brian Warner 2009-02-10 14:44:12 -07:00
parent ef1bfdd2bf
commit 3b1c8ceb86
1 changed files with 6 additions and 0 deletions

View File

@ -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()