Skip to content

Commit fa6c62f

Browse files
author
MarcoFalke
committed
test: Replace log with assert_equal in wallet_abandonconflict
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.
1 parent 88fc795 commit fa6c62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/wallet_abandonconflict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def run_test(self):
213213
#assert_equal(newbalance, balance - Decimal("10"))
214214
self.log.info("If balance has not declined after invalidateblock then out of mempool wallet tx which is no longer")
215215
self.log.info("conflicted has not resumed causing its inputs to be seen as spent. See Issue #7315")
216-
self.log.info(str(balance) + " -> " + str(newbalance) + " ?")
216+
assert_equal(balance, newbalance)
217217

218218

219219
if __name__ == '__main__':

0 commit comments

Comments
 (0)