summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workload_helpers
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2018-09-14 11:49:49 -0700
committerjannaerin <golden.janna@gmail.com>2018-09-14 15:11:01 -0700
commit8904976eb73a8328e5c4be460c13e79bb131d253 (patch)
tree0b33ac77eead0f956f70fb2211aae09abd4bc2d0 /jstests/concurrency/fsm_workload_helpers
parent8f4ef548bbe6b6e6cf6a975d649477e28bbc9808 (diff)
downloadmongo-8904976eb73a8328e5c4be460c13e79bb131d253.tar.gz
SERVER-37145 Fix reference error in error msg in cleanup_txns.js
Diffstat (limited to 'jstests/concurrency/fsm_workload_helpers')
-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)}`);
}
/**