summaryrefslogtreecommitdiff
path: root/jstests/replsets/dbhash_at_cluster_time.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/dbhash_at_cluster_time.js')
-rw-r--r--jstests/replsets/dbhash_at_cluster_time.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/dbhash_at_cluster_time.js b/jstests/replsets/dbhash_at_cluster_time.js
index d2a77899003..27f4e0f79db 100644
--- a/jstests/replsets/dbhash_at_cluster_time.js
+++ b/jstests/replsets/dbhash_at_cluster_time.js
@@ -98,7 +98,7 @@
// However, the "dbHash" command should block behind the transaction if "atClusterTime"
// wasn't specified.
res = assert.commandFailedWithCode(db.runCommand({dbHash: 1, maxTimeMS: 1000}),
- ErrorCodes.ExceededTimeLimit);
+ ErrorCodes.MaxTimeMSExpired);
otherSession.abortTransaction();
otherSession.endSession();