-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
TIG 2018-03-12, TIG 2018-03-26
assert.commandWorked({..., w:'majority'}) should imply that the operation succeeded with the necessary write concern. We can have a separate assert.commandWorkedIgnoreWriteConcern() for the few cases where we explicitly want to test the command succeeding but failing to replicate to the specified write concern.
- is related to
-
SERVER-37153 assert.commandWorked() should fail when a getLastError hits wtimeout
- Closed
- related to
-
SERVER-31335 Shell needs an "assert failed with code" function that works for any command response
- Closed