diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-10-04 11:47:20 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-10-04 11:47:36 -0400 |
commit | 763e9a4a675668ba3c0d3836321f53c77950cc53 (patch) | |
tree | 119619684242539d773a1fca210e0e5301d3aa27 /jstests/noPassthrough | |
parent | 1fda1c2a8855c2b5c29859c80ced8d091de26eb3 (diff) | |
download | mongo-763e9a4a675668ba3c0d3836321f53c77950cc53.tar.gz |
SERVER-31327 Set ReplSetTest:waitForKeys default to true
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r-- | jstests/noPassthrough/non_atomic_apply_ops_logging.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/non_atomic_apply_ops_logging.js b/jstests/noPassthrough/non_atomic_apply_ops_logging.js index 2226afddf95..4fbc802f7e8 100644 --- a/jstests/noPassthrough/non_atomic_apply_ops_logging.js +++ b/jstests/noPassthrough/non_atomic_apply_ops_logging.js @@ -28,7 +28,7 @@ ] })); assert.eq(oplogColl.find({"o.applyOps": {"$exists": true}}).count(), 1); - assert.eq(oplogColl.find({"op": "i"}).count(), 0); + assert.eq(oplogColl.find({op: "i", ns: testColl.getFullName()}).count(), 0); // Ensure non-atomic apply ops logging produces an oplog entry for // each operation in the apply ops call and no record of applyOps // appears for these operations. @@ -73,7 +73,7 @@ allowAtomic: false, })); assert.eq(oplogColl.find({"o.applyOps": {"$exists": true}}).count(), 1); - assert.eq(oplogColl.find({"op": "i"}).count(), 2); + assert.eq(oplogColl.find({op: "i", ns: testColl.getFullName()}).count(), 2); rst.stopSet(); })(); |