diff options
author | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2018-02-21 17:09:23 -0500 |
---|---|---|
committer | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2018-03-09 11:02:49 -0500 |
commit | d05e04551b7e399a5554858de48541ae11988b10 (patch) | |
tree | 3972a326cb39c352ecb7add4f71888c8dd6b7092 /jstests/replsets/read_after_optime.js | |
parent | 40d6411a3d1be7531a5c92974171521f268ed4f4 (diff) | |
download | mongo-d05e04551b7e399a5554858de48541ae11988b10.tar.gz |
SERVER-32144 Remove test coverage for replication protocol version 0
Diffstat (limited to 'jstests/replsets/read_after_optime.js')
-rw-r--r-- | jstests/replsets/read_after_optime.js | 5 |
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() { |