Merged revisions 76116 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76116 | r.david.murray | 2009-11-04 20:50:56 -0500 (Wed, 04 Nov 2009) | 3 lines

  Increase the timeout in the bsddb3 replication test to allow
  the test time to complete on slow buildbots.  See issue 6462.
........
This commit is contained in:
R. David Murray 2009-11-05 14:08:06 +00:00
parent 4fb961cf3e
commit 0f44dad5ed
1 changed files with 2 additions and 2 deletions

View 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)