bitcoin/src/qt/test
Russell Yanofsky 7ba2d57852 Fix ListCoins test failure due to unset g_wallet_allow_fallback_fee
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.
2018-03-02 14:50:49 -05:00
..
compattests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
compattests.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
Makefile build: add stub makefiles for easier subdir builds 2014-06-05 16:05:43 -04:00
paymentrequestdata.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
paymentservertests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
paymentservertests.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
rpcnestedtests.cpp Split signrawtransaction into wallet and non-wallet 2018-02-17 11:42:00 -05:00
rpcnestedtests.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
test_main.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
uritests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
uritests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
wallettests.cpp Fix ListCoins test failure due to unset g_wallet_allow_fallback_fee 2018-03-02 14:50:49 -05:00
wallettests.h Add simple qt wallet test sending a transaction 2017-03-15 12:02:02 -05:00