-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
151
In the bulkWrite jstests we assert extensively on values from responses to the bulkWrite command. However, when these assertions fail they can be very difficult to debug because we don't print out the full command response. E.g. in BF-30586 we can't say definitively which error we expected to see in the response but didn't see.
We should augment the assert.eq calls with a message to print out the response in the case that they fail.