diff options
Diffstat (limited to 'jstests/core_standalone/read_concern.js')
-rw-r--r-- | jstests/core_standalone/read_concern.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core_standalone/read_concern.js b/jstests/core_standalone/read_concern.js index 769189396b1..17b276b99ed 100644 --- a/jstests/core_standalone/read_concern.js +++ b/jstests/core_standalone/read_concern.js @@ -34,7 +34,7 @@ if (isWiredTiger(db) || (isEphemeral(db) && !isEphemeralForTest(db))) { // Snapshot readConcern fail. assert.commandFailedWithCode(t.runCommand({find: "read_concern", readConcern: {level: "snapshot"}}), - [ErrorCodes.InvalidOptions, ErrorCodes.NotImplemented], + [ErrorCodes.NotAReplicaSet, ErrorCodes.NotImplemented], "expected snapshot readConcern to fail on standalone mongod"); // Standalones don't support any operations with clusterTime. @@ -43,4 +43,4 @@ assert.commandFailedWithCode( {find: "read_concern", readConcern: {level: "local", afterClusterTime: Timestamp(0, 1)}}), [ErrorCodes.IllegalOperation, ErrorCodes.NotImplemented], "expected afterClusterTime read to fail on standalone mongod"); -})();
\ No newline at end of file +})(); |