Page MenuHomePhabricator

[tests] Introduce TestNode
ClosedPublic

Authored by deadalnix on Jan 25 2018, 23:40.

Details

Summary

TestNode is a class responsible for all state related to a bitcoind node
under test. It stores local state, is responsible for tracking the
bitcoind process and delegates unrecognised messages to the RPC
connection.

This commit changes start_nodes and stop_nodes to start and stop the
bitcoind nodes in parallel, making test setup and teardown much faster.

Backport core's PR10711, PR11091 and PR11077

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
testnode
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1760
Build 1760: arc lint + arc unit