summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/currentop_transaction_metrics.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/currentop_transaction_metrics.js')
-rw-r--r--jstests/noPassthrough/currentop_transaction_metrics.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/currentop_transaction_metrics.js b/jstests/noPassthrough/currentop_transaction_metrics.js
index 1a023e10cf5..d676167c2c2 100644
--- a/jstests/noPassthrough/currentop_transaction_metrics.js
+++ b/jstests/noPassthrough/currentop_transaction_metrics.js
@@ -65,7 +65,7 @@
prepareTransactionDocument.timeInactiveMicros);
assert.gte(prepareTransactionDocument.timePreparedMicros, 0);
- PrepareHelpers.commitTransactionAfterPrepareTS(session, prepareTimestamp);
+ PrepareHelpers.commitTransaction(session, prepareTimestamp);
session.endSession();
rst.stopSet();