HomePhabricator

test: Update wait_until usage in tests not to use the one from utils

Description

test: Update wait_until usage in tests not to use the one from utils

Summary:
Using the global wait_until makes it impossible to adjust the timeout based on the hardware the test is running on.

test: Update wait_until usage in tests not to use the one from utils

Replace "wait_until()" usage from utils, with the ones from BitcoinTestFramework and P2PInterface.
closes #19080

test: Add docstring to wait_until() in util.py to warn about its usage

This is a backport of core#19752

Test Plan: ninja check-functional-extended

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Seleme Topuz <seleme94@hotmail.com>Authored on Aug 17 2020, 15:50
PiRKCommitted on Sep 16 2021, 14:29
PiRKPushed on Sep 16 2021, 14:29
Reviewer
Restricted Project
Differential Revision
D10128: test: Update wait_until usage in tests not to use the one from utils
Parents
rABCba848a43e275: chain: Remove UB CChain comparison
Branches
Unknown
Tags
Unknown