summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-11-05 01:50:56 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-11-05 01:50:56 +0000
commit2537e7a443bb1903cc79995d152b594264ff33d8 (patch)
tree9e163de5c11de4f9bb97437dede43764d7a8d755
parent323b9da16d5e868bec4880256d718b1e1d7627f9 (diff)
downloadcpython-git-2537e7a443bb1903cc79995d152b594264ff33d8.tar.gz
Increase the timeout in the bsddb3 replication test to allow
the test time to complete on slow buildbots. See issue 6462.
-rw-r--r--Lib/bsddb/test/test_replication.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bsddb/test/test_replication.py b/Lib/bsddb/test/test_replication.py
index 25f03dbabe..faeaf4673d 100644
--- a/Lib/bsddb/test/test_replication.py
+++ b/Lib/bsddb/test/test_replication.py
@@ -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)