From cde8cdd898448c0aaf82cef5ddbc24f53dc8262d Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Tue, 29 Jul 2008 16:16:23 +0000 Subject: [PATCH] Be less strict with replication timeouts (the machine can be a bit loaded), and be sure to yield the CPU when waiting. --- Lib/bsddb/test/test_replication.py | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/Lib/bsddb/test/test_replication.py b/Lib/bsddb/test/test_replication.py index f9102d7b1c..5d01b3107b 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) : -- 2.49.0