From 7532092cbcc9d3f9c351e27f4d40d066f8f1d8e5 Mon Sep 17 00:00:00 2001 From: Tom Trevethan Date: Fri, 8 Aug 2025 14:54:54 +0100 Subject: [PATCH] fix intermittent functional test failures --- test/functional/feature_dynafed.py | 1 + test/functional/wallet_elements_regression_1259.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/functional/feature_dynafed.py b/test/functional/feature_dynafed.py index 83fb5fb341d..ba25e7cbd76 100755 --- a/test/functional/feature_dynafed.py +++ b/test/functional/feature_dynafed.py @@ -305,6 +305,7 @@ def test_all_vote(self): assert comb_result["complete"] self.nodes[0].submitblock(comb_result["hex"]) assert_equal(self.nodes[0].getblockcount(), cur_height+11) + self.sync_blocks() def test_transition_mempool_eject(self): self.log.info("Testing mempool (r)ejection policy on transitions...") diff --git a/test/functional/wallet_elements_regression_1259.py b/test/functional/wallet_elements_regression_1259.py index e6499d443ef..4593c8a9f5c 100755 --- a/test/functional/wallet_elements_regression_1259.py +++ b/test/functional/wallet_elements_regression_1259.py @@ -56,6 +56,7 @@ def run_test(self): for i in range(num_utxos): self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), value, "", "", False, False, None, None, None, asset, False, fee_rate, True) self.generate(self.nodes[0], 1) + self.sync_all() # create a raw tx on node 1 consolidating the asset utxos self.log.info(f"Create the raw consolidation transaction")