As discussed in #28831 the ldb files are too small to be randomized for pertubation. This PR excludes ldb files from randomization. Blockfiles are randomly perturbed, ldb file pertubation remains deterministic. For additional rationale see #28612
test: randomize perturbed files excluding ldb #29182
pull L0laL33tz wants to merge 1 commits into bitcoin:master from L0laL33tz:fix_feature_init changing 1 files +10 −4-
L0laL33tz commented at 5:44 PM on January 4, 2024: contributor
-
DrahtBot commented at 5:44 PM on January 4, 2024: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage
For detailed information about the code coverage, see the test coverage report.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #29034 (test: detect OS in functional tests consistently using
platform.system()by theStack)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
- #29034 (test: detect OS in functional tests consistently using
- DrahtBot added the label Tests on Jan 4, 2024
- DrahtBot added the label CI failed on Jan 4, 2024
-
test: randomize perturbed files excluding ldb 965c8cdde7
-
in test/functional/feature_init.py:146 in 3354e077b9 outdated
145 | + # are too small in size for randomization. 146 | + if str(target_file).endswith(".ldb"): 147 | + tf.seek(150) 148 | + tf.write(b"1" * 200) 149 | + else: 150 | + tf.seek(randint(150, 15000))
maflcko commented at 12:06 PM on January 5, 2024:are block files guaranteed to contain this many bytes of blocks, always?
maflcko commented at 12:07 PM on January 5, 2024: memberPlease keep your fixup commits squashed according to https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits
L0laL33tz force-pushed on Jan 5, 2024DrahtBot removed the label CI failed on Jan 5, 2024kevkevinpal commented at 4:14 PM on January 6, 2024: contributorDrahtBot added the label Needs rebase on Jan 11, 2024DrahtBot commented at 6:10 PM on January 11, 2024: contributor<!--cf906140f33d8803c4a75a2196329ecb-->
🐙 This pull request conflicts with the target branch and needs rebase.
DrahtBot commented at 12:58 AM on April 9, 2024: contributor<!--13523179cfe9479db18ec6c5d236f789-->
⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?
- Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
- Is it no longer relevant? ➡️ Please close.
- Did the author lose interest or time to work on this? ➡️ Please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future.
maflcko commented at 5:33 AM on April 9, 2024: memberClosing for now, but feel free to open a new pull request, with the changes rebased.
maflcko closed this on Apr 9, 2024bitcoin locked this on Apr 9, 2025
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-04-24 09:14 UTC
More mirrored repositories can be found on mirror.b10c.me