The test use an assertion that a key doesn't exist: assert 'fee' not in block['tx'][1] when the verbosity level is 1. This expected to work because with this verbosity level, the output is an array of txid and not a dict, so the key cannot be found. Except that fee is a valid hexadecimal value, and nothing prevents the txid from having this string.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC45aefa144a64: Fix rpc_blockchain flakiness
for i in {1..100}; do ./test/functional/test_runner.py rpc_blockchain || break; done
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
test/functional/rpc_blockchain.py | ||
---|---|---|
467 ↗ | (On Diff #36192) | the logging is now incorrect for this casz |