Page MenuHomePhabricator

[qa] Delete cookie file before starting node
ClosedPublic

Authored by Fabien on May 21 2019, 12:46.

Details

Summary

If a cookie file exists in a datadir prior to node startup, it must have
been leftover from a prior unclean shutdown. As bitcoind will overwrite
it anyway, delete it before starting up to prevent the test framework
from inadvertently trying to connect using stale credentials.

Backport of core PR12902
https://github.com/bitcoin/bitcoin/pull/12902/files

Test Plan
./test/functional/test_runner.py --extended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable