[SERVER-61944] Remove kMock1, kMock2 FaultFacetType from enum Created: 07/Dec/21 Updated: 06/Dec/22 Resolved: 05/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Lamont Nelson | Assignee: | [DO NOT USE] Backlog - Sharding NYC |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | pm-2364-faulty-mongos, pm-2364-post-4.4.12, sharding-nyc-subteam2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding NYC
|
||||||||
| Participants: | |||||||||
| Story Points: | 3 | ||||||||
| Description |
|
We can remove these test only types in favor of a class that imitates one of the types used in production. In tests that need a mock health observer we can register with the following: ); Under the hood it will register a mock health observer instance that records the intended type. |
| Comments |
| Comment by Lamont Nelson [ 02/Feb/22 ] |
|
Removed from the epic and leaving this ticket open for now. |
| Comment by Andrew Shuvalov (Inactive) [ 12/Jan/22 ] |
|
This ticket has TODO in the code. |