[SERVER-32717] retryable_writes_mmap.js should use assert.commandFailedWithCode Created: 16/Jan/18  Updated: 17/Jan/18  Resolved: 17/Jan/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-31335 Shell needs an "assert failed with co... Closed
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Jack Mulrow [ 17/Jan/18 ]

This was fixed in a follow-up commit for SERVER-31335.

Generated at Thu Feb 08 04:31:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.