From fcedca966ebc10e07a74b527624c0c3b9de52eba Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 8 Jul 2009 21:47:29 -0700 Subject: [PATCH] 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 --- src/allmydata/util/pollmixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2