HomePhabricator

test: check that peer is connected when calling sync_*

Description

test: check that peer is connected when calling sync_*

Summary:

Without a connection there is no way to sync, so we can fail early and don't have to wait for the timeout

This is a backport of Core PR18474

Test Plan: ninja && ninja check-functional-extended

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8897

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Wed, Jan 13, 12:44
PiRKCommitted on Wed, Jan 13, 12:44
abc-botPushed on Wed, Jan 13, 12:51
Reviewer
Restricted Project
Differential Revision
D8897: test: check that peer is connected when calling sync_*
Parents
rABCc077bd1fcf59: RPC: Remove final comma for last entry of fixed-size Arrays and Objects in…
Branches
Unknown
Tags
Unknown