From: Zooko O'Whielacronx Date: Thu, 9 Jul 2009 04:47:29 +0000 (-0700) Subject: tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may... X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20//%22?a=commitdiff_plain;h=fcedca966ebc10e07a74b527624c0c3b9de52eba;p=tahoe-lafs%2Ftahoe-lafs.git tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may have triggered too eagerly on Zandr's 266 MHz armel --- diff --git a/src/allmydata/util/pollmixin.py b/src/allmydata/util/pollmixin.py index 7b15476f..2f379499 100644 --- a/src/allmydata/util/pollmixin.py +++ b/src/allmydata/util/pollmixin.py @@ -11,7 +11,7 @@ class PollComplete(Exception): class PollMixin: _poll_should_ignore_these_errors = [] - def poll(self, check_f, pollinterval=0.01, timeout=100): + def poll(self, check_f, pollinterval=0.01, timeout=1000): # Return a Deferred, then call check_f periodically until it returns # True, at which point the Deferred will fire.. If check_f raises an # exception, the Deferred will errback. If the check_f does not