summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/validate_interrupt.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/validate_interrupt.js')
-rw-r--r--jstests/noPassthroughWithMongod/validate_interrupt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/validate_interrupt.js b/jstests/noPassthroughWithMongod/validate_interrupt.js
index 758eaa6839b..7b76551f4e4 100644
--- a/jstests/noPassthroughWithMongod/validate_interrupt.js
+++ b/jstests/noPassthroughWithMongod/validate_interrupt.js
@@ -29,7 +29,7 @@
if (res.ok === 0) {
assert.eq(res.code,
- ErrorCodes.ExceededTimeLimit,
+ ErrorCodes.MaxTimeMSExpired,
'validate command did not time out:\n' + tojson(res));
} else {
// validate() should only succeed if it EBUSY'd. See SERVER-23131.