summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workload_helpers/cleanup_txns.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/concurrency/fsm_workload_helpers/cleanup_txns.js')
-rw-r--r--jstests/concurrency/fsm_workload_helpers/cleanup_txns.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workload_helpers/cleanup_txns.js b/jstests/concurrency/fsm_workload_helpers/cleanup_txns.js
index ee94c835d8a..098907f2cb3 100644
--- a/jstests/concurrency/fsm_workload_helpers/cleanup_txns.js
+++ b/jstests/concurrency/fsm_workload_helpers/cleanup_txns.js
@@ -8,7 +8,7 @@
function abortTransaction(db, txnNumber, errorCodes) {
const abortCmd = {abortTransaction: 1, txnNumber: NumberLong(txnNumber), autocommit: false};
const res = db.adminCommand(abortCmd);
- return assert.commandWorkedOrFailedWithCode(res, errorCodes, () => `cmd: ${tojson(cmd)}`);
+ return assert.commandWorkedOrFailedWithCode(res, errorCodes, () => `cmd: ${tojson(abortCmd)}`);
}
/**