-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
Some tests require reproduction of non-trivial conditions such as network instability between cluster members.
It'd be great if we can have a mechanism similar to configureFailPoint: "failCommand" where we'll be able to mock the server response.
Ideally we'd be able to replace parts of the response - for example, set commitmentState: false for replSetGetConfig.
- is related to
-
SERVER-44466 Add "errorDocument" field to failCommand fail point
- Closed