test: Fix backwards compatibility intermittent failure

This commit is contained in:
Aurèle Oulès 2022-12-08 11:12:28 +01:00
parent a653f4bb1f
commit c29bff5b91
No known key found for this signature in database
GPG key ID: 55F3976F7001D998

View file

@ -274,6 +274,7 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
assert_equal(info["desc"], descsum_create(descriptor))
# Now copy that same wallet back to 0.16 to make sure no automatic upgrade breaks it
node_master.unloadwallet("u1_v16")
os.remove(os.path.join(node_v16_wallets_dir, "wallets/u1_v16"))
shutil.copyfile(
os.path.join(node_master_wallets_dir, "u1_v16"),