Skip to content

Commit cab50d3

Browse files
committed
[Tests] Fix functional test suite with new directory 'evodb'
1 parent ad7f5d7 commit cab50d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def copy_and_overwrite(from_path, to_path):
490490
node_0_datadir = os.path.join(get_datadir_path(cachedir, 0), "regtest")
491491
for i in range(from_num, MAX_NODES):
492492
node_i_datadir = os.path.join(get_datadir_path(cachedir, i), "regtest")
493-
for subdir in ["blocks", "chainstate", "sporks", "zerocoin"]:
493+
for subdir in ["blocks", "chainstate", "evodb", "sporks", "zerocoin"]:
494494
copy_and_overwrite(os.path.join(node_0_datadir, subdir),
495495
os.path.join(node_i_datadir, subdir))
496496
initialize_datadir(cachedir, i) # Overwrite port/rpcport in pivx.conf
@@ -510,7 +510,7 @@ def cache_path(n, *paths):
510510

511511
for i in range(MAX_NODES):
512512
for entry in os.listdir(cache_path(i)):
513-
if entry not in ['wallet.dat', 'chainstate', 'blocks', 'sporks', 'zerocoin', 'backups']:
513+
if entry not in ['wallet.dat', 'chainstate', 'blocks', 'sporks', 'evodb', 'zerocoin', 'backups']:
514514
os.remove(cache_path(i, entry))
515515

516516
def clean_cache_dir():

0 commit comments

Comments
 (0)