diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-10-21 22:00:45 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-10-21 22:00:49 +0200 |
commit | 12ff8993bcc7315f4a9b69bf16def980bb0e5197 (patch) | |
tree | a07d99bf6f62d2b8b537969b08519ae7e31030bc | |
parent | 179ce098333b55664fea048c52c60a0f74996bf2 (diff) | |
parent | fa6c62f34b50818102ad58f2ffd152189f54d973 (diff) |
Merge bitcoin/bitcoin#23331: test: Replace log with assert_equal in wallet_abandonconflict
fa6c62f34b50818102ad58f2ffd152189f54d973 test: Replace log with assert_equal in wallet_abandonconflict (MarcoFalke)
Pull request description:
This will make the test fail as soon as the bug is fixed, forcing it to
be updated. Otherwise, the bug might be fixed (or made worse)
accidentally, leaving the test in an inconsistent state.
ACKs for top commit:
theStack:
Concept and code-review ACK fa6c62f34b50818102ad58f2ffd152189f54d973
brunoerg:
tACK fa6c62f34b50818102ad58f2ffd152189f54d973
Tree-SHA512: 416f72380164bf3f93332a5cfa81a8e61d8ada3714ef6815889ed3cf2d16c09411760dee4acf19629227e565b765b3dea491a0b23efd38eb370254cfadf7c441
-rwxr-xr-x | test/functional/wallet_abandonconflict.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_abandonconflict.py b/test/functional/wallet_abandonconflict.py index d6766097f6..8f54e50598 100755 --- a/test/functional/wallet_abandonconflict.py +++ b/test/functional/wallet_abandonconflict.py @@ -213,7 +213,7 @@ class AbandonConflictTest(BitcoinTestFramework): #assert_equal(newbalance, balance - Decimal("10")) self.log.info("If balance has not declined after invalidateblock then out of mempool wallet tx which is no longer") self.log.info("conflicted has not resumed causing its inputs to be seen as spent. See Issue #7315") - self.log.info(str(balance) + " -> " + str(newbalance) + " ?") + assert_equal(balance, newbalance) if __name__ == '__main__': |