QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core#15896
Conversation
…ages rather than hardcoding Bitcoin Core
|
utACK fcc443b |
…E_NAME in messages rather than hardcoding Bitcoin Core fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr) Pull request description: ACKs for commit fcc443: practicalswift: utACK fcc443b Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
|
utACK fcc443b. |
|
It seems |
|
Normally ignoring AppVeyor failures isn't a huge issue, but this PR changed |
|
|
||
| cli_response = self.nodes[0].cli("-version").send_cli() | ||
| assert "Bitcoin Core RPC client version" in cli_response | ||
| assert "{} RPC client version".format(self.config['environment']['PACKAGE_NAME']) in cli_response |
There was a problem hiding this comment.
Can this be replaced with an assert_equal test? That makes it easier to debug whether there's a problem with the testsuite or the binary in AppVeyor.
(most likely the problem is with the test, since this PR only touched the test)
There was a problem hiding this comment.
Note that in other places self is left out, e.g. '/src/bitcoind' + config["environment"]["EXEEXT"]
There was a problem hiding this comment.
assert_equal doesn't work because the version is suffixed by the commit
$ ./src/bitcoin-cli -version
Bitcoin Core RPC client version v0.18.99.0-b1e013e4fa
There was a problem hiding this comment.
I guess you could strip the commit, but 🤷♂️
| # test/functional/test_runner.py and test/util/bitcoin-util-test.py | ||
|
|
||
| [environment] | ||
| PACKAGE_NAME=@PACKAGE_NAME@ |
There was a problem hiding this comment.
You probably need to add something here, though I'm not sure what:
https://github.com/bitcoin/bitcoin/blob/master/.appveyor.yml#L41-L48
faebd8c appveyor: Write @PACKAGE_NAME@ to config (MarcoFalke) Pull request description: fix tests which are currently failing on appveyor after #15896 ACKs for commit faebd8: Sjors: utACK faebd8c if AppVeyor blesses it. ryanofsky: utACK faebd8c. Not following your own "Please provide clear motivation for your patch" advice maybe, but I gather the motivation is to fix tests which are currently failing on appveyor after #15896? Tree-SHA512: 645cc9f82a4897659bfd41d0c645e21201c43bceb36a073e7fa9fff6d38e8190e7b23e44f77f18ecf3cd1794a9a11b8cabfb33d1a477e7417d839f9451b8253d
…KAGE_NAME in messages rather than hardcoding Bitcoin Core Summary: QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr) bitcoin/bitcoin@fcc443b --- Backport of Core [[bitcoin/bitcoin#15896 | PR15896]] Test Plan: ninja clean && ninja ./test_runner.py feature_filelock interface_bitcoin_cli Reviewers: #bitcoin_abc, jasonbcox Reviewed By: #bitcoin_abc, jasonbcox Differential Revision: https://reviews.bitcoinabc.org/D7107
… PACKAGE_NAME in messages rather than hardcoding Bitcoin Core fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr) Pull request description: ACKs for commit fcc443: practicalswift: utACK fcc443b Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
… PACKAGE_NAME in messages rather than hardcoding Bitcoin Core fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr) Pull request description: ACKs for commit fcc443: practicalswift: utACK fcc443b Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
No description provided.