[SERVER-42239] Add support for extraInfo in failCommand Created: 15/Jul/19 Updated: 29/Oct/23 Resolved: 29/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, save-for-sam | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2020-01-27, Service Arch 2020-02-10 | ||||||||
| Participants: | |||||||||
| Description |
|
It's not currently possible to use failCommand to set a command to fail if the desired code requires extra info. We should allow callers of failCommand to pass extraInfo, which would allow failCommand to mimic all error conditions (instead of just those conditions which don't have extraInfo). |
| Comments |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@10gen.com'}Message: |