HomePhabricator

Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDER
fd67424c829bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDER

Unit tests would fail if compiled with -DDEBUG_LOCKORDER (AssertLockHeld()
would fail; AssertLockHeld() relies on the DEBUG_LOCKORDER code to keep
track of locks held).

Fixed by LOCK'ing the wallet mutex in the unit tests that manipulate the
wallet.

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on Jan 23 2014, 19:18
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd0a94f2c2f12: Merge pull request #3571
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rABCfd67424c829b: Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDER (authored by Gavin Andresen <gavinandresen@gmail.com>).Jan 24 2014, 15:47