Skip to content

Commit

Permalink
Fixed feature_filelock.py test
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Feb 16, 2024
1 parent ee7ee7a commit 82729c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional/feature_filelock.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def run_test(self):
expected_msg = f"Error: Cannot obtain a lock on data directory {datadir}. {self.config['environment']['PACKAGE_NAME']} is probably already running."
self.nodes[1].assert_start_raises_init_error(extra_args=[f'-datadir={self.nodes[0].datadir_path}', '-noserver'], expected_msg=expected_msg)

self.log.info("Check that cookie and PID file are not deleted when attempting to start a second bitcoind using the same datadir")
self.log.info("Check that cookie and PID file are not deleted when attempting to start a second navcoind using the same datadir")
cookie_file = datadir / ".cookie"
assert cookie_file.exists() # should not be deleted during the second bitcoind instance shutdown
pid_file = datadir / "bitcoind.pid"
assert cookie_file.exists() # should not be deleted during the second navcoind instance shutdown
pid_file = datadir / "navcoind.pid"
assert pid_file.exists()

if self.is_wallet_compiled():
Expand Down

0 comments on commit 82729c5

Please sign in to comment.