test: Fix backwards compatibility intermittent failure

This commit is contained in:
Aurèle Oulès committed 2022-12-08 11:13:34 +01:00
1 parent a653f4bb1f
commit c29bff5b91
1 file changed
+1
@@ -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"),