[SERVER-80213] Create way for configureFailpoint to let server code run until the next time failpoint is hit Created: 17/Aug/23 Updated: 22/Aug/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Huayu Ouyang | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
There doesn't seem to be a way to hang at a failpoint in the server code, do something in my JS test, and then "release" the failpoint to let the server code run past the failpoint, but still keep the failpoint on so that if the server code reaches the failpoint again, it will still get stopped again (We currently need to turn on a second failpoint that's after the first failpoint, then turn off the first failpoint, wait for the second failpoint to be hit, turn the first failpoint back on, and then turn the second failpoint off). Could this be added to configureFailpoint? |