HomePhabricator

test: Remove UninterruptibleSleep from test and replace it by…

Description

test: Remove UninterruptibleSleep from test and replace it by SyncWithValidationInterfaceQueue

Summary:
For the purpose of this test the two have the same outcome, but this one
is shorter and avoids a sleep for 0.1 seconds.

This is a backport of Core PR18742 [2/3]
https://github.com/bitcoin/bitcoin/pull/18742/commits/fa5ceb25fce2200edf6b8ebfa6d4f01ed6774b95

Depends on D9103

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 27 2020, 14:30
PiRKCommitted on Jan 28 2021, 17:03
PiRKPushed on Jan 28 2021, 17:03
Reviewer
Restricted Project
Differential Revision
D9104: test: Remove UninterruptibleSleep from test and replace it by SyncWithValidationInterfaceQueue
Parents
rABC5db69d6d3877: validationinterface: Rework documentation, Rename pwalletIn to callbacks
Branches
Unknown
Tags
Unknown