From: Jesus Cea Date: Tue, 29 Jul 2008 16:16:23 +0000 (+0000) Subject: Be less strict with replication timeouts (the machine X-Git-Tag: v2.6b3~209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cde8cdd898448c0aaf82cef5ddbc24f53dc8262d;p=thirdparty%2FPython%2Fcpython.git Be less strict with replication timeouts (the machine can be a bit loaded), and be sure to yield the CPU when waiting. --- diff --git a/Lib/bsddb/test/test_replication.py b/Lib/bsddb/test/test_replication.py index f9102d7b1c61..5d01b3107bb4 100644 --- a/Lib/bsddb/test/test_replication.py +++ b/Lib/bsddb/test/test_replication.py @@ -128,10 +128,10 @@ 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()+2 + timeout = time.time()+10 while (time.time()= (4,7) :