Commit Graph

16 Commits

Author SHA1 Message Date
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
6d38c74515 SERVER-15506 batch_write_commands tests generate too much output 2014-10-16 14:45:31 -04:00
Scott Hernandez
e200a2274f SERVER-13210: include nModified for all mongod write commands 2014-03-18 17:18:12 -04:00
Jason Rassi
5253043325 SERVER-12819 Reject write cmds where batch size > maxWriteBatchSize 2014-03-13 00:50:21 -04:00
Scott Hernandez
4c1db9421b SERVER-13001: exclude nModified from legacy write results 2014-03-12 22:36:19 -04:00
Scott Hernandez
a56653e1df SERVER-12786: add shell writeMode option 2014-02-26 12:11:30 -05:00
Randolph Tan
77148d5a6c SERVER-12319 nDocsModified in write commands to nModified 2014-01-13 11:41:31 -05:00
Greg Studer
c1bf7733d2 SERVER-12139 refactor bulk write op processing in batch write ops
Pushes bulk writes under a single write lock acquisition, cleanup of
preprocessing.
2014-01-07 13:37:09 -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
66d4032fb7 SERVER-9469 upserted field from write command response is now always an array. 2013-12-19 14:27:30 -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
Scott Hernandez
fe185a30da SERVER-3409: Expose number of docs modified (excl. no-ops) 2013-12-13 15:51:49 -05:00
Greg Studer
406ca294a7 SERVER-11772 new core suite for write command testing 2013-11-18 18:05:19 -05:00