[SERVER-53186] Support both "skip" and "times" for a single fail point Created: 02/Dec/20  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 1
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:
Story Points: 5

 Description   

It'd be useful for some new drivers tests to set fail points like:

{
  configureFailPoint: "failCommand",
  mode: { times: 1, skip: 1 },
  data: { failCommands: ["insert"], errorCode: 11600
}

This should allow one insert command to execute, fail the second insert command with error code 11600, and then allow all future insert commands to execute normally.


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