HomePhabricator

test: fix test failures in test/functional/p2p_timeouts.py

Description

test: fix test failures in test/functional/p2p_timeouts.py

Summary:
From the PR discussion:

Fair enough as a temporary workaround.

The source of this bug is that not all time in net is using mocked time, giving those "rounding errors".

The long-term fix should be to use mocked time consistently.

This is a backport of core#23740

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Dec 11 2021, 00:02
PiRKCommitted on Sun, Feb 9, 13:40
PiRKPushed on Sun, Feb 9, 13:40
Reviewer
Restricted Project
Differential Revision
D17652: test: fix test failures in test/functional/p2p_timeouts.py
Parents
rABC95c17f9917b3: wallet: make chain optional for CWallet::Create
Branches
Unknown
Tags
Unknown