HomePhabricator

Move peer eviction tests to a separate test file

Description

Move peer eviction tests to a separate test file

Summary:
out of net_tests, because the eviction tests:

  • are a different domain of test coverage, with different dependencies
  • run more slowly than the net tests
  • will be growing in size, in this PR branch and in the future, as eviction test coverage is improved

This is a backport of core#20197 [2/6]
https://github.com/bitcoin/bitcoin/pull/20197/commits/41f84d5eccd4c2620bf6fee616f2f8f717dbd6f6

Depends on D10975

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Feb 20 2021, 10:21
PiRKCommitted on Feb 4 2022, 10:59
PiRKPushed on Feb 4 2022, 10:59
Reviewer
Restricted Project
Differential Revision
D10976: Move peer eviction tests to a separate test file
Parents
rABC831416335844: Extract ProtectEvictionCandidatesByRatio from SelectNodeToEvict
Branches
Unknown
Tags
Unknown