Page MenuHomePhabricator

test: Fix restart node race
ClosedPublic

Authored by Fabien on Tue, Jan 12, 13:38.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCb1a28d9a77a6: test: Fix restart node race
Summary
It is not allowed to start a node before it has been fully stopped.
Otherwise it could lead to intermittent issues due to access issues
(e.g. cookie file
https://cirrus-ci.com/task/6409665024098304?command=ci#L4793)

Fix that by waiting for the node to fully stop.

I have also seen this issue on CI a few times.

Backport of core PR20683.

Test Plan
ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.