Max Hirschhorn
029f51d0fd
SERVER-32522 Clean up {read,write}Concern and readPreference overrides.
...
Introduces OverrideHelpers object with convenience methods for
inspecting certain aggregation and map-reduce commands, as well as
overriding startParallelShell(), Mongo.prototype.runCommand(), and
Mongo.prototype.runCommandWithMetadata().
Also removes a number of tests that were incorrectly blacklisted from
the read_concern_majority_passthrough.yml and
read_concern_linearizable_passthrough.yml test suites.
(cherry picked from commit 35b5b72146 )
(cherry picked from commit e828226f4c )
2018-02-23 01:12:47 -05:00
Jonathan Abrahams
8c5ff5834a
SERVER-22468 Format JS code with approved style in jstests/
2016-03-09 12:27:56 -05:00
Mike Grundy
a86f395f51
SERVER-22341 fix jslint errors in jstests/core with eslint --fix
...
(cherry picked from commit 3bed8596d1 )
Conflicts:
jstests/core/geo_update_btree2.js
jstests/core/update_min_max_examples.js
jstests/core/update_mul_examples.js
2016-02-16 17:34:38 -05:00
Randolph Tan
72ec4fc892
SERVER-15506 batch_write_command_delete.js generates too much output
2014-10-06 13:37:27 -04:00
Michael Ivanov
6246d74016
SERVER-14289 invalid limit for delete command should result in write error
...
Closes #775
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-09-19 16:53:54 -04:00
Jason Rassi
5253043325
SERVER-12819 Reject write cmds where batch size > maxWriteBatchSize
2014-03-13 00:50:21 -04:00
Scott Hernandez
a56653e1df
SERVER-12786: add shell writeMode option
2014-02-26 12:11:30 -05:00
Randolph Tan
3c9c156fa0
SERVER-11969 w:0 on sharded write command is returning upserted values
2013-12-20 10:24:03 -05:00
Randolph Tan
bd9b6d70ef
SERVER-9469 Set ok field in response to 1 if write was applied
...
Also removed promotion of writeErrors to top level field errors and made sure that right error fields are used.
2013-12-19 11:32:39 -05:00
Randolph Tan
0f629b3212
SERVER-9469 Rename errDetails to writeErrors
2013-12-16 17:21:44 -05:00
Greg Studer
406ca294a7
SERVER-11772 new core suite for write command testing
2013-11-18 18:05:19 -05:00