summaryrefslogtreecommitdiff
path: root/jstests/replsets/read_after_optime.js
diff options
context:
space:
mode:
authorVesselina Ratcheva <vesselina.ratcheva@10gen.com>2018-03-13 15:38:09 -0400
committerVesselina Ratcheva <vesselina.ratcheva@10gen.com>2018-03-13 18:57:31 -0400
commit5ab5ab20ba5aa78ceb1697eee05ddea8f6e3d94b (patch)
tree6e2b12f2b178dd41b7c373787791556af68f1992 /jstests/replsets/read_after_optime.js
parent296f242fedb66eff99861f4fa3cda1ffc552ad9d (diff)
downloadmongo-5ab5ab20ba5aa78ceb1697eee05ddea8f6e3d94b.tar.gz
SERVER-32144 Remove test coverage for replication protocol version 0
This reverts commit c5a4250a649ab0afb4ecdf227d4a0400f9e68786.
Diffstat (limited to 'jstests/replsets/read_after_optime.js')
-rw-r--r--jstests/replsets/read_after_optime.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/replsets/read_after_optime.js b/jstests/replsets/read_after_optime.js
index ced5a83a8c1..1059d5b1c62 100644
--- a/jstests/replsets/read_after_optime.js
+++ b/jstests/replsets/read_after_optime.js
@@ -18,10 +18,7 @@
var oplogTS = localDB.oplog.rs.find().sort({$natural: -1}).limit(1).next();
var twoKSecTS = new Timestamp(oplogTS.ts.getTime() + 2000, 0);
- var term = -1;
- if (config.protocolVersion === 1) {
- term = oplogTS.t;
- }
+ var term = oplogTS.t;
// Test timeout with maxTimeMS
var runTimeoutTest = function() {