summaryrefslogtreecommitdiff
path: root/jstests/core/txns/commands_not_allowed_in_txn.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/txns/commands_not_allowed_in_txn.js')
-rw-r--r--jstests/core/txns/commands_not_allowed_in_txn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/txns/commands_not_allowed_in_txn.js b/jstests/core/txns/commands_not_allowed_in_txn.js
index e2c1cc23e78..44eb038caf5 100644
--- a/jstests/core/txns/commands_not_allowed_in_txn.js
+++ b/jstests/core/txns/commands_not_allowed_in_txn.js
@@ -146,7 +146,7 @@
stmtId: NumberInt(1),
autocommit: false
}),
- ErrorCodes.ConflictingOperationInProgress);
+ ErrorCodes.OperationNotSupportedInTransaction);
// It is still possible to commit the transaction. The rejected command does not abort the
// transaction.