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
Branch
PR12902
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5923
Build 9906: Bitcoin ABC Buildbot (legacy)
Build 9905: arc lint + arc unit