bitcoin/src/wallet/test
Russell Yanofsky 33eb9071b9 Fix ComputeTimeSmart test failure with -DDEBUG_LOCKORDER
Failure looks like:

    Entering test case "ComputeTimeSmart"
    test_bitcoin: sync.cpp💯 void potential_deadlock_detected(const std::pair<void*, void*>&, const LockStack&, const LockStack&): Assertion `false' failed.
    unknown location(0): fatal error in "ComputeTimeSmart": signal: SIGABRT (application abort requested)
    wallet/test/wallet_tests.cpp(566): last checkpoint

Reproducible with:

    ./configure --enable-debug
    make -C src test/test_bitcoin && src/test/test_bitcoin --log_level=test_suite --run_test=wallet_tests/ComputeTimeSmart

Happens due to "92fabcd443 Add LookupBlockIndex function" which acquires
cs_main from inside CWallet::ComputeTimeSmart.
2018-03-13 19:41:38 -04:00
..
accounting_tests.cpp Merge #11687: External wallet files 2018-03-07 17:11:54 +01:00
crypto_tests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
wallet_test_fixture.cpp Allow wallet files in multiple directories 2018-03-03 10:26:55 -05:00
wallet_test_fixture.h Allow wallet files in multiple directories 2018-03-03 10:26:55 -05:00
wallet_tests.cpp Fix ComputeTimeSmart test failure with -DDEBUG_LOCKORDER 2018-03-13 19:41:38 -04:00