-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
ALL
SERVER-31335 changed the behavior of some assert.js helpers, and as a result, retryable_writes_mmap.js fails to find an expected error code because it is returned as a WriteCommandError, but the test is using assert.writeErrorWithCode, which now ignores that class of errors. The test should be updated to use assert.commandFailedWithCode instead.
- duplicates
-
SERVER-31335 Shell needs an "assert failed with code" function that works for any command response
- Closed