HomePhabricator

Add unit test for the outbound connection logic

Description

Add unit test for the outbound connection logic

Summary:
This diff adds a CConnmanTest implementation that allows for testing the outbound connection logic that is used in the network thread. For now only a test for the network group limitation is added so we can later add and test avalanche specifics for this feature.

Depends on D11827.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

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

Details

Provenance
FabienAuthored on Aug 4 2022, 20:22
FabienPushed on Aug 6 2022, 12:00
Reviewer
Restricted Project
Differential Revision
D11828: Add unit test for the outbound connection logic
Parents
rABCbb9328ffcfe2: Add a method to make addrman deterministic
Branches
Unknown
Tags
Unknown