HomePhabricator

test: Clear forced -walletdir setting after wallet init_tests

Description

test: Clear forced -walletdir setting after wallet init_tests

Summary:
Leaving this value set interfered with the CreateWallet test if it happened to execute later in the test ordering. Specifically it would cause CreateWallet test to write data to the current directory instead of temporary test directory.

This is a backport of core#20932 [1/2]
https://github.com/bitcoin/bitcoin/pull/20932/commits/66576c4fd532ac18b8b355ea93d25581a2c15654

Depends on D11969

Test Plan: ninja check

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
Kiminuo <kiminuo@protonmail.com>Authored on Jan 15 2021, 07:26
PiRKCommitted on Sep 14 2022, 06:38
PiRKPushed on Sep 14 2022, 06:38
Reviewer
Restricted Project
Differential Revision
D11970: test: Clear forced -walletdir setting after wallet init_tests
Parents
rABC5182914d8d63: Introduce GetUniquePath(base) helper method to replace boost::filesystem…
Branches
Unknown
Tags
Unknown