Kaydet (Commit) 2537e7a4 authored tarafından R. David Murray's avatar R. David Murray

Increase the timeout in the bsddb3 replication test to allow

the test time to complete on slow buildbots.  See issue 6462.
üst 323b9da1
...@@ -116,7 +116,7 @@ class DBReplicationManager(unittest.TestCase): ...@@ -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()+10 timeout = time.time()+30
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
...@@ -308,7 +308,7 @@ class DBBaseReplication(DBReplicationManager): ...@@ -308,7 +308,7 @@ class DBBaseReplication(DBReplicationManager):
# 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()+10 timeout = time.time()+60
while (time.time()<timeout) and not (self.confirmed_master and while (time.time()<timeout) and not (self.confirmed_master and
self.client_startupdone) : self.client_startupdone) :
time.sleep(0.02) time.sleep(0.02)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment