Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50699

Allow FailPointEnableBlocks to be disabled early

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service arch 2020-09-07

      For unit tests that control multiple failpoints in interleaving ways, relying on scope blocks as the only way to control failpoint lifetime gets tricky and can introduce a lot of extra scope.  It would be nice to have a way to proactively dismiss a FailPointEnableBlock before it actually goes out of scope.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: