QA: Expect PACKAGE_NAME rather than constant “Bitcoin Core” #30308
pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:qa_feature_settings_pkgname changing 1 files +1 −1-
luke-jr commented at 2:59 pm on June 19, 2024: memberFollowup to #29144
-
QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core" 197b5404b0
-
DrahtBot commented at 3:00 pm on June 19, 2024: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage
For detailed information about the code coverage, see the test coverage report.
Reviews
See the guideline for information on the review process.
Type Reviewers ACK kevkevinpal, tdb3 If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
-
DrahtBot added the label Tests on Jun 19, 2024
-
kevkevinpal commented at 3:03 pm on June 19, 2024: contributor
ACK 197b540
we’re doing this in these files aswell so seems fine to me
0test/functional/wallet_multiwallet.py 1test/functional/tool_wallet.py 2test/functional/interface_bitcoin_cli.py 3test/functional/feature_filelock.py
-
kevkevinpal commented at 3:10 pm on June 19, 2024: contributor
I see we’re doing something similar in
./test/functional/wallet_backwards_compatibility.py
0node_v17.assert_start_raises_init_error(["-wallet=w3"], "Error: Error loading w3: Wallet requires newer version of Bitcoin Core") 1 2and 3 4node_v16.assert_start_raises_init_error([f"-wallet={wallet_name}"], f"Error: Error loading {wallet_name}: Wallet requires newer version of Bitcoin Core")
not sure if you want to update here aswell in this PR
-
tdb3 approved
-
tdb3 commented at 8:51 pm on June 19, 2024: contributorACK 197b5404b0f4a1d6e989000845b45c8bd24e0bc6 grepped for other instances of
Bitcoin Core
in test/functional/ and didn’t see any beyond what @kevkevinpal identified. -
maflcko commented at 8:56 am on June 20, 2024: member
previous releaseas are hardcoded to be Bitcoin Core, so no need to change that
I wonder if one CI task should modify the PACKAGE_NAME to be something else, e.g.
Bitcoin Core CI-build
? -
fanquake commented at 9:00 am on June 20, 2024: member
previous releaseas are hardcoded to be Bitcoin Core, so need to change that
It can be changed just for consistency, and to prevent similar issues in future when devs copy-paste code.
-
luke-jr commented at 7:20 pm on June 21, 2024: member
It can be changed just for consistency, and to prevent similar issues in future when devs copy-paste code.
Changing it would break that test.
I don’t think there’s anything more to do here at the moment. (CI is a good idea, but seems suited to a different PR)
-
nehtech9 approved
-
fanquake commented at 2:17 pm on June 24, 2024: member
Changing it would break that test.
Not in our repository though? In any case, this could be revisited if someone follows up with a CI change.
-
fanquake merged this on Jun 24, 2024
-
fanquake closed this on Jun 24, 2024
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-06-29 07:13 UTC
More mirrored repositories can be found on mirror.b10c.me