HomePhabricator

test: Pass ArgsManager into getarg_tests

Description

test: Pass ArgsManager into getarg_tests

Summary:

Replaced the global argsManager gArgs with a locally defined one in
getarg_tests. This is to avoid confusion in arg settings between the
test's ArgsManager and the #18804

Backport of core PR18926.

This overrides the changes from D4462 which achieved the same goal.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
glowangAuthored on May 12 2020, 04:50
FabienCommitted on Dec 10 2020, 18:57
FabienPushed on Dec 10 2020, 18:59
Reviewer
Restricted Project
Differential Revision
D8643: test: Pass ArgsManager into getarg_tests
Parents
rABC6b57151f3e4d: [seeder] Add a test to check outgoing messages in response to VERACK
Branches
Unknown
Tags
Unknown