Commit Graph

8 Commits

Author SHA1 Message Date
Kevin Pulo
0c8b0d57c7 SERVER-12746: Fix assert() calls with constant-value args
These calls were mostly mistakes that should have been assert.eq().

assert() will now trip if passed a non-string msg, or too many params.
2015-10-30 20:35:28 +11:00
Greg Studer
6ee3a36bdb SERVER-13057 push shell write errors more in line with other drivers 2014-03-18 15:26:25 -04:00
Andreas Nilsson
2109d8c1bd Refactoring shell bulk API tests and added more failure cases 2014-03-11 12:06:28 -04:00
Scott Hernandez
a56653e1df SERVER-12786: add shell writeMode option 2014-02-26 12:11:30 -05:00
A. Jesse Jiryu Davis
f85398cf07 Bulk find() requires selector, SERVER-12553.
Squashed:
- Update comments in bulk_api.js.
- Throw Error from invalid Bulk operations, not strings

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2014-02-18 16:18:02 -05:00
Randolph Tan
211cac34e5 SERVER-12664 Change nUpdated to nMatched in bulk api results 2014-02-13 10:32:17 -05:00
Dan Pasette
aff6a0bba3 SERVER-12576 Add string rep of Bulk object and improve SingleWriteResult formatting 2014-02-09 20:11:12 -05:00
Scott Hernandez
edfce78fcb rename bulk api stuff to bulk (not batch) 2014-02-04 15:16:54 -05:00