[SERVER-50699] Allow FailPointEnableBlocks to be disabled early Created: 02/Sep/20  Updated: 02/Sep/20  Resolved: 02/Sep/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-50700 Allow constructing a FailPointEnableB... Closed
is related to SERVER-50698 Prevent PrimaryOnlyService unit tests... Closed
Sprint: Service arch 2020-09-07
Participants:

 Description   

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.


Generated at Thu Feb 08 05:23:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.