Skip to content

Commit 7231c66

Browse files
laanwjcodablock
authored andcommitted
Revert "[qa] Adjust timeouts for micro-optimization of run time"
This reverts commit fa2d68f. Temporary revert - see discussion in bitcoin#8532.
1 parent 6ac01da commit 7231c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qa/rpc-tests/test_framework/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def hex_str_to_bytes(hex_str):
131131
def str_to_b64str(string):
132132
return b64encode(string.encode('utf-8')).decode('ascii')
133133

134-
def sync_blocks(rpc_connections, wait=0.125, timeout=60):
134+
def sync_blocks(rpc_connections, wait=1, timeout=60):
135135
"""
136136
Wait until everybody has the same tip
137137
"""
@@ -143,7 +143,7 @@ def sync_blocks(rpc_connections, wait=0.125, timeout=60):
143143
timeout -= wait
144144
raise AssertionError("Block sync failed")
145145

146-
def sync_mempools(rpc_connections, wait=0.5, timeout=60):
146+
def sync_mempools(rpc_connections, wait=1, timeout=60):
147147
"""
148148
Wait until everybody has the same transactions in their memory
149149
pools

0 commit comments

Comments
 (0)