Skip to content

Commit 49ae952

Browse files
committed
fix: intermittent error in feature_notification.py due to missing quorum for CL
1 parent 538687b commit 49ae952

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/functional/feature_notifications.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ def run_test(self):
103103
self.nodes[0].sporkupdate("SPORK_17_QUORUM_DKG_ENABLED", 0)
104104
self.nodes[0].sporkupdate("SPORK_19_CHAINLOCKS_ENABLED", 4070908800)
105105
self.wait_for_sporks_same()
106+
self.log.info("Mine quorum for InstantSend")
106107
(quorum_info_i_0, quorum_info_i_1) = self.mine_cycle_quorum()
108+
self.log.info("Mine quorum for ChainLocks")
109+
if len(self.nodes[0].quorum('list')['llmq_test']) == 0:
110+
self.mine_quorum(llmq_type_name='llmq_test', llmq_type=104)
111+
else:
112+
self.log.info("Quorum `llmq_test` already exist")
107113
self.nodes[0].sporkupdate("SPORK_19_CHAINLOCKS_ENABLED", 0)
108114
self.wait_for_sporks_same()
109115

0 commit comments

Comments
 (0)