HomePhabricator

test_framework: detect failure of bitcoind startup
018b60c5ea70Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

test_framework: detect failure of bitcoind startup

Replace the bitcoin-cli -rpcwait after spawning bitcoind
with our own loop that detects when bitcoind exits prematurely.

And if one node fails to start, stop the others.

This prevents a hang in such a case (see #7463).

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 25 2016, 13:21
deadalnixPushed on May 14 2017, 22:04
Parents
rABC0b98dd793967: Merge #7732: [Qt] Debug window: replace "Build date" with "Datadir"
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC018b60c5ea70: test_framework: detect failure of bitcoind startup (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Mar 26 2016, 07:10