Skip to content

Commit 7331d4e

Browse files
UdjinM6codablock
authored andcommitted
Bump wait_for_chainlocked_block_all_nodes timeout in llmq-is-retroactive.py to 30 sec when mining lots of blocks at once (#3238)
1 parent dad1026 commit 7331d4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/llmq-is-retroactive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run_test(self):
3838
self.mine_quorum()
3939

4040
# Make sure that all nodes are chainlocked at the same height before starting actual tests
41-
self.wait_for_chainlocked_block_all_nodes(self.nodes[0].getbestblockhash())
41+
self.wait_for_chainlocked_block_all_nodes(self.nodes[0].getbestblockhash(), timeout=30)
4242

4343
self.log.info("trying normal IS lock")
4444
txid = self.nodes[0].sendtoaddress(self.nodes[0].getnewaddress(), 1)
@@ -111,7 +111,7 @@ def run_test(self):
111111
def cycle_llmqs(self):
112112
self.mine_quorum()
113113
self.mine_quorum()
114-
self.wait_for_chainlocked_block_all_nodes(self.nodes[0].getbestblockhash())
114+
self.wait_for_chainlocked_block_all_nodes(self.nodes[0].getbestblockhash(), timeout=30)
115115

116116
def test_all_nodes_session_timeout(self, do_cycle_llmqs):
117117
set_node_times(self.nodes, self.mocktime)

0 commit comments

Comments
 (0)