diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-07-06 15:04:18 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-07-07 15:22:28 -0400 |
commit | eeceb5a64d98cfa2955b07efd998d0e059715877 (patch) | |
tree | bb6fe4c1f96af1c7d5777375cd9de096430eb564 /jstests/replsets/read_after_optime.js | |
parent | 082acbd2ab2e1a5f0c494b5203daf0c1aea00462 (diff) | |
download | mongo-eeceb5a64d98cfa2955b07efd998d0e059715877.tar.gz |
SERVER-24928 Remove the ReadConcernResponse class
Diffstat (limited to 'jstests/replsets/read_after_optime.js')
-rw-r--r-- | jstests/replsets/read_after_optime.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/replsets/read_after_optime.js b/jstests/replsets/read_after_optime.js index 30cf7782679..3ec927427ad 100644 --- a/jstests/replsets/read_after_optime.js +++ b/jstests/replsets/read_after_optime.js @@ -23,14 +23,13 @@ // Test timeout with maxTimeMS var runTimeoutTest = function() { - var timeoutResult = assert.commandFailedWithCode(testDB.runCommand({ + assert.commandFailedWithCode(testDB.runCommand({ find: 'user', filter: {x: 1}, readConcern: {afterOpTime: {ts: twoSecTS, t: term}}, maxTimeMS: 5000, }), - ErrorCodes.ExceededTimeLimit); - assert.gt(timeoutResult.waitedMS, 500); + ErrorCodes.ExceededTimeLimit); }; var countLogMessages = function(msg) { |