Some tests disallow to be run under --usecli. This reduces the coverage and risks that bugs in the bitcoin-cli go unnoticed.
The commits should be self-explanatory and can be reviewed and tested one-by-one.
Some tests disallow to be run under --usecli. This reduces the coverage and risks that bugs in the bitcoin-cli go unnoticed.
The commits should be self-explanatory and can be reviewed and tested one-by-one.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35363.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | willcl-ark |
If your review is incorrectly listed, please copy-paste <code><!--meta-tag:bot-skip--></code> into the comment that the bot should ignore.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
Looks like dbcrash needs to handle failure (when using cli) in the form of subprocess.CalledProcessError?
Otherwise, bitcoin-cli will read the wrong config from the "future".
The echo and echojson RPCs are identical in the server. The only
difference is that echojson is in the client conversion table.
ACK fa24693819e054c4e795dcaa510f17a757421b9e
LGTM now. More usecli tests running in the Apline job 👍🏼
Looks like dbcrash needs to handle failure (when using cli) in the form of subprocess.CalledProcessError?
Right, but I forgot to apply it to verify_utxo_hash :sweat_smile:
Given that it is tedious, due to the non-determinism, to enumerate all possible exception types, errno values, etc on all platforms and all test configs, I went with an alternative fix in https://github.com/bitcoin/bitcoin/pull/35379
About the remaining instances of supports_cli=False:
I think they are all about the bitcoin-cli client conversion table, so I think I'll move the relevant coverage to a dedicated sub-test (maybe in rpc_named_arguments.py), remove the coverage from each of those tests and then remove the unused supports_cli field.