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
- Branch
- fix_rpc_blockchain
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20847 Build 41351: Build Diff build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang Build 41350: arc lint + arc unit
Event Timeline
test/functional/rpc_blockchain.py | ||
---|---|---|
467 ↗ | (On Diff #36192) | the logging is now incorrect for this casz |