summaryrefslogtreecommitdiff
path: root/jstests/replsets/sync2.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-07-12 15:14:30 -0400
committerMathias Stearn <mathias@10gen.com>2013-07-12 15:38:40 -0400
commit85cc36126c772ed5e406bebf68fa24a49e7109c4 (patch)
treef837f97459a2a9c1703145baf8e5b68734647c1e /jstests/replsets/sync2.js
parent723a68c9afbe134c9dffe9312640ec22e941527e (diff)
downloadmongo-85cc36126c772ed5e406bebf68fa24a49e7109c4.tar.gz
Remove unnecessary and broken portion of test
Fixes SERVER-10153
Diffstat (limited to 'jstests/replsets/sync2.js')
-rw-r--r--jstests/replsets/sync2.js16
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();