mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-28 13:26:38 +01:00
New global variables were introduced in #11882 and not setting them causes: wallet/test/wallet_tests.cpp(638): error in "ListCoins": check wallet->CreateTransaction({recipient}, wtx, reservekey, fee, changePos, error, dummy) failed wallet/test/wallet_tests.cpp(679): error in "ListCoins": check list.begin()->second.size() == 2 failed [1 != 2] wallet/test/wallet_tests.cpp(686): error in "ListCoins": check available.size() == 2 failed [1 != 2] wallet/test/wallet_tests.cpp(705): error in "ListCoins": check list.begin()->second.size() == 2 failed [1 != 2] It's possible to reproduce the failure reliably by running: src/test/test_bitcoin --log_level=test_suite --run_test=wallet_tests/ListCoins Failures happen nondeterministically because boost test framework doesn't run tests in a specified order, and tests that run previously can set the global variables and mask the bug. |
||
---|---|---|
.. | ||
compattests.cpp | ||
compattests.h | ||
Makefile | ||
paymentrequestdata.h | ||
paymentservertests.cpp | ||
paymentservertests.h | ||
rpcnestedtests.cpp | ||
rpcnestedtests.h | ||
test_main.cpp | ||
uritests.cpp | ||
uritests.h | ||
wallettests.cpp | ||
wallettests.h |