Skip to content

Commit be9cf82

Browse files
committed
test: fix intermittent failure in feature_governance.py waiting votes to be propagated
1 parent db5d000 commit be9cf82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/feature_governance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ def sync_gov(node):
279279
self.log.info("Should see NO votes on both triggers now")
280280
self.wait_until(lambda: self.nodes[0].gobject("list", "valid", "triggers")[winning_trigger_hash]['NoCount'] == 1, timeout=5)
281281
self.wait_until(lambda: self.nodes[0].gobject("list", "valid", "triggers")[isolated_trigger_hash]['NoCount'] == self.mn_count - 1, timeout=5)
282+
self.log.info("Should wait until all 24 votes are counted for success on next stages")
283+
self.wait_until(lambda: self.nodes[1].gobject("count")["votes"] == 24, timeout=5)
282284

283285
self.log.info("Remember vote count")
284286
before = self.nodes[1].gobject("count")["votes"]

0 commit comments

Comments
 (0)