diff options
Diffstat (limited to 'jstests/core/txns/disallow_operations_on_prepared_transaction.js')
-rw-r--r-- | jstests/core/txns/disallow_operations_on_prepared_transaction.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/txns/disallow_operations_on_prepared_transaction.js b/jstests/core/txns/disallow_operations_on_prepared_transaction.js index 9e02f4ddbb9..8888684fb46 100644 --- a/jstests/core/txns/disallow_operations_on_prepared_transaction.js +++ b/jstests/core/txns/disallow_operations_on_prepared_transaction.js @@ -71,7 +71,7 @@ stmtId: NumberInt(1), autocommit: false }), - ErrorCodes.ConflictingOperationInProgress); + ErrorCodes.OperationNotSupportedInTransaction); jsTestLog("Test that you can't run find on a prepared transaction."); assert.commandFailedWithCode(assert.throws(function() { |