HomePhabricator

test: Avoid connecting to real network when running tests

Description

test: Avoid connecting to real network when running tests

Summary:
Backport of core#21254.

This is the complete fix for the p2p_dos_header_tree.py test, so the temporary fix introduced in D10908 can be reverted.

Depends on D10909.

Test Plan:

ninja all check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Jan 27 2022, 11:02
FabienPushed on Jan 27 2022, 15:57
Reviewer
Restricted Project
Differential Revision
D10911: test: Avoid connecting to real network when running tests
Parents
rABCb9a4c07d5904: test: Use mocktime in test_seed_peers
Branches
Unknown
Tags
Unknown