- Simplify code through
assert_raises()- #35730 (review) - Move check below related check - #35730 (review)
- Warn when skipping checks - #35730 (review)
- Minor improvements in 1 commit:
- Log message instead of comment - #35730 (review)
- Drop
rfrom string literal prefix - #35730 (review)
qa: Minor improvement follow-ups to 35730 #36064
pull hodlinator wants to merge 4 commits into bitcoin:master from hodlinator:2026/08/35730_follow_ups changing 2 files +21 −29-
hodlinator commented at 11:33 AM on August 24, 2026: contributor
-
refactor(qa): Simplify through using assert_raises() 7e3b60584b
-
refactor(qa): Move check right below related check 6d570415a0
- DrahtBot added the label Tests on Aug 24, 2026
-
DrahtBot commented at 11:34 AM on August 24, 2026: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36064.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline and AI policy for information on the review process.
Type Reviewers ACK pinheadmz, winterrdog If your review is incorrectly listed, please copy-paste <code><!--meta-tag:bot-skip--></code> into the comment that the bot should ignore.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
-
in test/functional/feature_init.py:402 in 69fbb023a4 outdated
398 | @@ -399,14 +399,14 @@ def init_fd_overflow_test(self): 399 | try: 400 | resource.setrlimit(resource.RLIMIT_NOFILE, (soft, soft)) 401 | except (ValueError, OSError): 402 | - self.log.info(f"Skipping rlimit test: cannot reduce hard limit (soft={soft}, hard={hard})") 403 | + self.log.warning(f"Skipping rlimit test: cannot reduce hard limit (soft={soft}, hard={hard})")
hodlinator commented at 7:15 PM on August 24, 2026:Good point, fixed remaining cases in that file in latest push.
pinheadmz approvedpinheadmz commented at 7:08 PM on August 24, 2026: memberACK 69fbb023a416fb5b68bc6a39a724990134b97288
Built and tested on arm64 macos host and in a debian container. These changes clean up the functional tests from #35730 without affecting functionality.
<details><summary>Show Signature</summary>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ACK 69fbb023a416fb5b68bc6a39a724990134b97288 -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmqMliAbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEOfimEtiick64eEQAKHimtF2Whfr8nDlkgV5 e4xej9k75nDiL6VjT8YYbiQ8uZEJFiK+c7n5ggUoZpnjQTTr9B9oacAmrQIbbLNh UJarNGyYUCsKvZZikcvwrulj14rbAZfCZqsAeEHw69XKQDeSFDdDflmkqWLoJDFK n/DltQWe3Fr5LT2L+TZypBUirTjTC51ViBDZjnDTaYK36jBfuNBD+oJPscRSmpLX 9RfChmsocjv5DUpziGUJcz6GqZV4cORlRSX9Jw3FzBiUhRXluiOLAd2+LQPyDiux cg6M1ABqSz27mD/bf+dgY6Iqjkmpe2grFNdFrONbGmxskpLBI9RleuJ4JcFHyJmz k155vxS3G/bUmJmnlK58yH3v1oVwh7dZ0EvsCfvh8Cfo/LZ0/sassLlTSxR2AoXo hTdrgXF3dbs8eiyK3wXEg8ft+Z4coxV9ba9oNz9REuriepZ2GWCOSx2Hwls/j3PP VLWQD/gdz5izuXv5/+uTuhgGH8KS5T2cFLjmx+7sg6nEYFEkgTmYJk7juojsLH9L 7P5JJEAHgWhBFk6lKwrF6078gHEpajn/+ybIW3XCxxW5c6xrQ0EVvjI3Y5fBqMta iC00jYIcUvK23Na3jx1RNXUDnqOR9A5wQRKrGziKRJSt16S1OjP+jTFKtOPgvz8a ceQHT2gIBZqXwZfYsh4YyUhZ =mOFS -----END PGP SIGNATURE-----pinheadmz's public key is on openpgp.org
</details>
6248331b29qa: Switch to warning when skipping tests
This is convention, see of example "except SkipTest" in test_framework.py.
290be9eafaqa: Minor feature_init.py improvements
* Emit log message before performing check. * Drop needless 'r' from string literal.
hodlinator force-pushed on Aug 24, 2026pinheadmz commented at 7:20 PM on August 24, 2026: memberACK 290be9eafa488dd49820b3bb5698391c0abbc6a2
Added a nit commit since last review
<details><summary>Show Signature</summary>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ACK 290be9eafa488dd49820b3bb5698391c0abbc6a2 -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmqMmUgbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEOfimEtiick68ygP/AgmOUB1agkw0cQ5g6pp YhyycySHffqxlfN8MJDR25FqXM1GQeBfDmersmxRV/6LnRcBaEsWm5vb2Qw/hlJn WQZ51JxYOWfp3BBGArLanEtDjeNegUsw4XvoinQ+BshT0zb9ED/4mNZVNjQLfhtN 2V6awr19Dr7Liel5w5BHrWGRQnuzDdoKkDYErpudI/UFgBxrejacV+4fwnWEki/q Z/+KsXkqJTAigu8fR072sPppnfiQ/MMvKzow//DZVHUCy82k5kzm7xN6I5uHZQTt ponF2gB40irk4DgC+/eQijyNzdeShaAwp0jrz3webnQzxwOFxsN8IfKyQxhugNM/ DA8CzOjH7wkdwzkmYNzFf3veMOnqyczMmorLtBfQTfZg2NrxFSSRlN17+Wl5CH45 4b1YSPlgK4YwjIgDoob9ewaiJdpfVbSkWt5nNz6MZbRPS1A8cmtbvIWAT+QNOyMa aOUzSdQsEWKFhc1YQcSwjiUFHzCW33gy1ZqAGPJ4DaZItlVPk7q3Na2eg1ck13bD oKGSyQvlb7QF1baJilj+H+PSkcBty9sxG62S4mfgD4KHjKW9OvJI8o+Q7e4w6swI dESTWoP22qMrHpVU4l7bFyxweatz/UNNs0ieVlFQN+vLcZhTZH7bzj7S5I+Mui1w KHhoLlfgqVim3wWHIyR9Od4V =CrV/ -----END PGP SIGNATURE-----pinheadmz's public key is on openpgp.org
</details>
winterrdog commented at 8:38 PM on August 24, 2026: contributortACK 290be9eafa488dd49820b3bb5698391c0abbc6a2
successfully built and ran on Debian/
x86_64/clang++-18. the tests ran without a flaw and did not break any pre-existing functionality.totally fine to me
fanquake merged this on Aug 25, 2026fanquake closed this on Aug 25, 2026hodlinator deleted the branch on Aug 25, 2026ContributorsLabels
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: 2026-08-31 17:51 UTC
More mirrored repositories can be found on mirror.b10c.me