Merge pull request #1483 from tomt1664/fix/functional_sync

Test: fix intermittent failures for wallet_elements_regression_1259.py and feature_dynafed.py
This commit is contained in:
Byron Hambly 2025-08-11 11:30:32 +02:00 committed by GitHub
commit 992147b07e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -305,6 +305,7 @@ class DynaFedTest(BitcoinTestFramework):
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...")

View file

@ -56,6 +56,7 @@ class WalletTest(BitcoinTestFramework):
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")