summaryrefslogtreecommitdiff
path: root/jstests/core/txns/prepare_prepared_transaction.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/txns/prepare_prepared_transaction.js')
-rw-r--r--jstests/core/txns/prepare_prepared_transaction.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/txns/prepare_prepared_transaction.js b/jstests/core/txns/prepare_prepared_transaction.js
index c436d342fba..52617a9d83e 100644
--- a/jstests/core/txns/prepare_prepared_transaction.js
+++ b/jstests/core/txns/prepare_prepared_transaction.js
@@ -31,7 +31,7 @@
const secondTimestamp = PrepareHelpers.prepareTransaction(session);
// Both prepareTimestamps should be equal.
assert.eq(firstTimestamp, secondTimestamp);
- session.abortTransaction();
+ session.abortTransaction_forTesting();
session.endSession();
}());