test: Fix failfast option for functional test runner #24195

pull mzumsande wants to merge 1 commits into bitcoin:master from mzumsande:202201_testrunner_fix changing 1 files +5 −1
  1. mzumsande commented at 2:56 PM on January 28, 2022: member

    Fixes #23990

    After #23799, the --failfast option in the test runner for the functional tests stopped working, because a second outer loop was introduced, which would have needed a break too for the test runner to fail immediately. This also led to the errors reported in #23990.

    This provides a straightforward fix for that. There is also #23995 which is a larger refactor, but that hasn't been updated in a while to fix the failfast issue.

  2. test: Repair failfast option for test runner a036358994
  3. DrahtBot added the label Tests on Jan 28, 2022
  4. DrahtBot commented at 3:50 PM on January 28, 2022: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #23995 (Simplify test_runner.py a bit by sipa)

    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.

  5. pg156 commented at 2:27 AM on February 5, 2022: none

    Tested ACK a036358994546e2041d0bf0cc911bab4e4baba3c. I agree adding the all_passed flag to break out of the outer loop when needed makes sense. The "failfast" option works after this change.

  6. pg156 approved
  7. MarcoFalke merged this on Feb 7, 2022
  8. MarcoFalke closed this on Feb 7, 2022

  9. sidhujag referenced this in commit 443645d1a3 on Feb 7, 2022
  10. katesalazar commented at 10:13 PM on March 9, 2022: contributor

    thanks!

    On Fri, Jan 28, 2022 at 4:01 PM Martin Zumsande @.***> wrote:

    Fixes #23990 https://github.com/bitcoin/bitcoin/issues/23990

    After #23799 https://github.com/bitcoin/bitcoin/pull/23799, the --failfast option in the test runner for the functional tests stopped working, because a second outer loop was introduced, which would have needed a break too for the test runner to fail immediately. This also led to the errors reported in #23990 https://github.com/bitcoin/bitcoin/issues/23990.

    This provides a straightforward fix for that. There is also #23995 https://github.com/bitcoin/bitcoin/pull/23995 which is a larger refactor, but that hasn't been updated in a while to fix the failfast issue.

    You can view, comment on, or merge this pull request online at:

    #24195 Commit Summary

    File Changes

    (1 file https://github.com/bitcoin/bitcoin/pull/24195/files)

    Patch Links:

    — Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/pull/24195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRS4WYTQYZN5XSZZJNSK3DUYKVTHANCNFSM5NA64R5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

    You are receiving this because you are subscribed to this thread.Message ID: @.***>

  11. DrahtBot locked this on Mar 9, 2023
  12. mzumsande deleted the branch on Jun 23, 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: 2026-04-17 03:13 UTC

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