-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial - P5
-
Resolution: Fixed
-
Affects Version/s: 3.2.0-rc2
-
Fix Version/s: 3.2.0-rc3
-
Component/s: Testing Infrastructure
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Sprint:TIG C (11/20/15)
This code in jstests/libs/override_methods/set_majority_read_and_write_concerns.js should use tojson() for the objects in the jsTestLog calls:
if (forceWriteConcern) {
|
if (obj.hasOwnProperty("writeConcern")) {
|
jsTestLog("Warning: overriding existing writeConcern of: " +
|
obj.writeConcern);
|
}
|
obj.writeConcern = defaultWriteConcern;
|
|
} else if (forceReadConcern) {
|
if (obj.hasOwnProperty("readConcern")) {
|
jsTestLog("Warning: overriding existing readConcern of: " +
|
obj.readConcern);
|
}
|
obj.readConcern = {level: "majority"};
|
}
|