diff options
author | jannaerin <golden.janna@gmail.com> | 2018-09-14 11:49:49 -0700 |
---|---|---|
committer | jannaerin <golden.janna@gmail.com> | 2018-09-14 15:11:01 -0700 |
commit | 8904976eb73a8328e5c4be460c13e79bb131d253 (patch) | |
tree | 0b33ac77eead0f956f70fb2211aae09abd4bc2d0 /jstests/concurrency/fsm_workload_helpers | |
parent | 8f4ef548bbe6b6e6cf6a975d649477e28bbc9808 (diff) | |
download | mongo-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.js | 2 |
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)}`); } /** |