HomePhabricator

Fix debug build test failures

Description

Fix debug build test failures

Summary:
Running the tests with debug enabled would fail due to the
AssertLockNotHeld(cs_main) introduced in D2608. Some tests are still
locking cs_main when creating a new block, which now throws an
assertion error.
This diff fixes these tests.

Test Plan:

../configure --enable-debug && make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

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

Details

Provenance
FabienAuthored on Mar 1 2019, 07:26
FabienPushed on Mar 1 2019, 11:52
Reviewer
Restricted Project
Differential Revision
D2634: Fix debug build test failures
Parents
rABC7839640916c5: Avoid NULL pointer dereference when _walletModel is NULL (which is valid)
Branches
Unknown
Tags
Unknown