]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may...
authorZooko O'Whielacronx <zooko@zooko.com>
Thu, 9 Jul 2009 04:47:29 +0000 (21:47 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Thu, 9 Jul 2009 04:47:29 +0000 (21:47 -0700)
src/allmydata/util/pollmixin.py

index 7b15476f67b13d87ed4d6c33a7905cf8ef33cf99..2f3794999a45706ff36dd89947faffe71de53c87 100644 (file)
@@ -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