[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: |
|
||||||||||||
| 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. |