Skip to content

Commit 3dc90d6

Browse files
committed
test: remove mempool.dat before copying
Renaming mempool.dat from old node to new node fails on windows as the file already exists.
1 parent 67a6b20 commit 3dc90d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/mempool_compatibility.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def run_test(self):
5656
self.log.info("Move mempool.dat from old to new node")
5757
old_node_mempool = old_node.chain_path / "mempool.dat"
5858
new_node_mempool = new_node.chain_path / "mempool.dat"
59+
new_node_mempool.unlink()
5960
old_node_mempool.rename(new_node_mempool)
6061

6162
self.log.info("Start new node and verify mempool contains the tx")

0 commit comments

Comments
 (0)