HomePhabricator

test: Use mocktime in test_seed_peers

Description

test: Use mocktime in test_seed_peers

Summary:

The test now takes less than 5 seconds instead of more than 2 minutes

Backport of core#21165.

Depends on D10908.

Test Plan:

./test/functional/test_runner.py feature_config_args

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
Dhruv Mehta <856960+dhruv@users.noreply.github.com>Authored on Feb 12 2021, 17:23
FabienCommitted on Jan 27 2022, 15:55
FabienPushed on Jan 27 2022, 15:55
Reviewer
Restricted Project
Differential Revision
D10909: test: Use mocktime in test_seed_peers
Parents
rABC6974a58c0469: [p2p] No delay in adding fixed seeds if -dnsseed=0 and peers.dat is empty. Add…
Branches
Unknown
Tags
Unknown

Event Timeline