From 3b1c8ceb86215aee01e809ff544d4400f665abd3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 10 Feb 2009 14:44:12 -0700 Subject: [PATCH] tests: increase the default timeout for SystemTestMixin -based tests to 300 seconds, since our slower buildslaves sometimes take longer than the default 120s --- src/allmydata/test/common.py | 6 ++++++ 1 file changed, 6 insertions(+) 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() -- 2.45.2