I got the relative magnitudes of the timeout increases reversed, so

I'm bumping up the longer test to the 60 seconds I intended to make it.
If this doesn't cure the intermittent buildbot timeouts, I'm going to
turn that test into a warning rather than a failure.
This commit is contained in:
R. David Murray 2009-11-11 18:07:27 +00:00
parent 5dff3544f3
commit fdd53545a1
1 changed files with 1 additions and 1 deletions

View File

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