Extend feature_init.py file perturbations #28603

issue mzumsande openend this issue on October 5, 2023
  1. mzumsande commented at 7:00 pm on October 5, 2023: contributor

    Motivation

    feature_init.py is a functional test that perturbs various files in the data directory (simulation data corruption), and checks the response during startup.

    Recently, this test was improved in #27823, but there were some open suggestions in, in particular #27823 (review), to extend and/or randomize the way files are perturbed.

    There is also the possibility that more sophisticated perturbations could potentially uncover other unhandled exceptions/assert crashes like the one fixed in #27823.

    Possible solution

    No response

    Useful Skills

    • Python
    • Debugging the bitcoin core C++ file parsing code in order to understand why certain perturbation lead to certain errors.

    Guidance for new contributors

    Want to work on this issue?

    For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

  2. mzumsande added the label good first issue on Oct 5, 2023
  3. L0laL33tz commented at 3:45 pm on October 8, 2023: contributor
    Created #28612 to address this. @furszy let me know if the randomizations are as you had in mind!
  4. achow101 closed this on Nov 6, 2023


github-metadata-mirror

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-07-03 13:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me