diff options
Diffstat (limited to 'jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js')
-rw-r--r-- | jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js b/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js index 91a754a595a..6c650a2cded 100644 --- a/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js +++ b/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js @@ -73,7 +73,7 @@ primarySession.startTransaction( {readConcern: {level: "snapshot", atClusterTime: clusterTimeAfter}}); assert.commandFailedWithCode(primaryDB.runCommand({find: collName, maxTimeMS: 1000}), - ErrorCodes.ExceededTimeLimit); + ErrorCodes.MaxTimeMSExpired); primarySession.abortTransaction(); // Restart replication on one of the secondaries. @@ -101,7 +101,7 @@ secondarySession.startTransaction( {readConcern: {level: "snapshot", atClusterTime: clusterTimeAfter}}); assert.commandFailedWithCode(secondaryDB0.runCommand({find: collName, maxTimeMS: 1000}), - ErrorCodes.ExceededTimeLimit); + ErrorCodes.MaxTimeMSExpired); secondarySession.abortTransaction(); // Restart replication on the lagged secondary. |