diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2018-07-19 16:44:10 -0400 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2018-07-25 19:21:56 -0400 |
commit | 46cdaa4d4c6f8c31e3635f67d4ab7b08692cd229 (patch) | |
tree | efbc68f30b3258861eedc3fdb25688c915a856bb /jstests | |
parent | 192b1e24ec53a011656a2063e4c5e70817b63d36 (diff) | |
download | mongo-46cdaa4d4c6f8c31e3635f67d4ab7b08692cd229.tar.gz |
SERVER-35709 Mongos should remember readConcern setting for multi statement transactions
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/core/txns/multi_statement_transaction_command_args.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/core/txns/multi_statement_transaction_command_args.js b/jstests/core/txns/multi_statement_transaction_command_args.js index 8246d1030a5..d30563b32ac 100644 --- a/jstests/core/txns/multi_statement_transaction_command_args.js +++ b/jstests/core/txns/multi_statement_transaction_command_args.js @@ -238,7 +238,10 @@ assert.commandFailedWithCode( sessionDb.runCommand( {find: collName, filter: {}, txnNumber: NumberLong(txnNumber), autocommit: false}), - ErrorCodes.InvalidOptions); + [ + ErrorCodes.InvalidOptions, // TODO SERVER-36203: mongod should return NoSuchTransaction. + ErrorCodes.NoSuchTransaction + ]); /*********************************************************************************************** * The 'autocommit' field must be specified on commit/abort commands. |