Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
0
Description
SERVER-31335 introduced a perf regression on assert.commandWorked, assert.commandFailed, and assert.commandFailedWithCode now always json stringify the response regardless of whether or not the assert needs the message. This surfaced in change streams perf tests.
Attachments
Issue Links
- is caused by
-
SERVER-31335 Shell needs an "assert failed with code" function that works for any command response
-
- Closed
-
- related to
-
SERVER-33034 Change assertion functions to accept a function returning a string as the message parameter
-
- Closed
-