summaryrefslogtreecommitdiff
path: root/jstests/sharding/read_after_optime.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/read_after_optime.js')
-rw-r--r--jstests/sharding/read_after_optime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/read_after_optime.js b/jstests/sharding/read_after_optime.js
index b174a288834..ce8c5201179 100644
--- a/jstests/sharding/read_after_optime.js
+++ b/jstests/sharding/read_after_optime.js
@@ -33,7 +33,7 @@
var pingIntervalSeconds = 10;
assert.commandFailedWithCode(
runFindCommand(new Timestamp(lastOp.ts.getTime() + pingIntervalSeconds * 5, 0)),
- ErrorCodes.ExceededTimeLimit);
+ ErrorCodes.MaxTimeMSExpired);
var msg = 'Command on database local timed out waiting for read concern to be satisfied.';
assert.soon(function() {