summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/read_committed_lookup.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/read_committed_lookup.js')
-rw-r--r--jstests/noPassthrough/read_committed_lookup.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/read_committed_lookup.js b/jstests/noPassthrough/read_committed_lookup.js
index e66195739ee..a8b3ff8522d 100644
--- a/jstests/noPassthrough/read_committed_lookup.js
+++ b/jstests/noPassthrough/read_committed_lookup.js
@@ -63,9 +63,7 @@ load("jstests/replsets/rslib.js"); // For startSetIfSupportsReadMajority.
}
// Seed matching data.
- var majorityWriteConcernObj = {
- writeConcern: {w: "majority", wtimeout: 60 * 1000}
- };
+ var majorityWriteConcernObj = {writeConcern: {w: "majority", wtimeout: 60 * 1000}};
var localId = db.local.insertOne({foreignKey: "x"}, majorityWriteConcernObj).insertedId;
var foreignId = db.foreign.insertOne({matchedField: "x"}, majorityWriteConcernObj).insertedId;
@@ -90,7 +88,9 @@ load("jstests/replsets/rslib.js"); // For startSetIfSupportsReadMajority.
var expectedMatchedResult = [{
_id: localId,
foreignKey: "x",
- match: [{_id: foreignId, matchedField: "x"}, ],
+ match: [
+ {_id: foreignId, matchedField: "x"},
+ ],
}];
var expectedUnmatchedResult = [{
_id: localId,