]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Increase the timeout in the bsddb3 replication test to allow
authorR. David Murray <rdmurray@bitdance.com>
Thu, 5 Nov 2009 01:50:56 +0000 (01:50 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 5 Nov 2009 01:50:56 +0000 (01:50 +0000)
the test time to complete on slow buildbots.  See issue 6462.

Lib/bsddb/test/test_replication.py

index 25f03dbabe9011f11fe3e6ac547982f249ebb99a..faeaf4673d2ff801951497074b1d72cfa39431b3 100644 (file)
@@ -116,7 +116,7 @@ class DBReplicationManager(unittest.TestCase):
         # is not generated if the master has no new transactions.
         # This is solved in BDB 4.6 (#15542).
         import time
-        timeout = time.time()+10
+        timeout = time.time()+30
         while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) :
             time.sleep(0.02)
         # this fails on Windows as self.client_startupdone never gets set
@@ -308,7 +308,7 @@ class DBBaseReplication(DBReplicationManager):
         # is not generated if the master has no new transactions.
         # This is solved in BDB 4.6 (#15542).
         import time
-        timeout = time.time()+10
+        timeout = time.time()+60
         while (time.time()<timeout) and not (self.confirmed_master and
                 self.client_startupdone) :
             time.sleep(0.02)