diff options
Diffstat (limited to 'jstests/replsets')
-rw-r--r-- | jstests/replsets/sync2.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/jstests/replsets/sync2.js b/jstests/replsets/sync2.js index 258cfd3ee12..57577c6c46b 100644 --- a/jstests/replsets/sync2.js +++ b/jstests/replsets/sync2.js @@ -21,22 +21,6 @@ replTest.awaitSecondaryNodes(); master.getDB("foo").bar.insert({x:1}); replTest.awaitReplication(); -jsTestLog("Checking that currentOp for secondaries uses OpTime, not Date"); -assert.soon( - function() { - var count = 0; - var currentOp = master.getDB("admin").currentOp({ns: 'local.oplog.rs'}); - printjson(currentOp); - currentOp.inprog.forEach( - function(op) { - assert.eq(op.query.ts.$gte.constructor, Timestamp); - count++; - } - ); - return count >= 4; - } -); - jsTestLog("Bridging replica set"); master = replTest.bridge(); |