New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: re-enable CLI test support by using EncodeDecimal in json.dumps() #17705
Conversation
Thanks for following up on this! ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK b6f9e35 assuming Travis is happy too -- diff looks correct :)
travis doesn't run with --usecli
@MarcoFalke I think it does for |
Yeah, but none of these files are touched in this pull |
@MarcoFalke They all use |
… in json.dumps() b6f9e35 test: re-enable CLI test support by using EncodeDecimal in json.dumps() (fanquake) Pull request description: As mentioned in #17675 (comment). ACKs for top commit: practicalswift: ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) MarcoFalke: > ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) Tree-SHA512: 79fa535cc1756c8ee610a3d6a316a1c4f036797d6990a5620e44985393a2e52f78450f8e0021d0a148c08705fd1ba765508464a365f9030ae0d2cacbd7a93e19
…Decimal in json.dumps() b6f9e35 test: re-enable CLI test support by using EncodeDecimal in json.dumps() (fanquake) Pull request description: As mentioned in bitcoin#17675 (comment). ACKs for top commit: practicalswift: ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) MarcoFalke: > ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) Tree-SHA512: 79fa535cc1756c8ee610a3d6a316a1c4f036797d6990a5620e44985393a2e52f78450f8e0021d0a148c08705fd1ba765508464a365f9030ae0d2cacbd7a93e19
Summary: > As mentioned in > bitcoin/bitcoin#17675 (comment) This makes more functional tests compatible with option `--usecli`, by fixing the JSON serialization error for `Decimal` objects. This was the most common error preventing tests to run with `--usecli` in D8316. I found two more tests that are fixed by this change, that were not activated in the original PR: `wallet_address_types.py` and `feature_csv_activation.py` Before: ``` $ ninja && test/functional/test_runner.py --usecli 2>&1 | cut -f2 -d'|' | grep -E ' (Passed|Skipped|Failed|) *$' | sort | uniq -c 97 ✓ Passed 49 ○ Skipped ``` After: ``` $ ninja && test/functional/test_runner.py --usecli 2>&1 | cut -f2 -d'|' | grep -E ' (Passed|Skipped|Failed|) *$' | sort | uniq -c 110 ✓ Passed 36 ○ Skipped ``` This is a backport of Core [[bitcoin/bitcoin#17705 | PR17705]] Depends on D8317 Test Plan: `test/functional/test_runner.py --usecli` Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8320
…Decimal in json.dumps() b6f9e35 test: re-enable CLI test support by using EncodeDecimal in json.dumps() (fanquake) Pull request description: As mentioned in bitcoin#17675 (comment). ACKs for top commit: practicalswift: ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) MarcoFalke: > ACK b6f9e35 assuming Travis is happy too -- diff looks correct :) Tree-SHA512: 79fa535cc1756c8ee610a3d6a316a1c4f036797d6990a5620e44985393a2e52f78450f8e0021d0a148c08705fd1ba765508464a365f9030ae0d2cacbd7a93e19
As mentioned in #17675 (comment).