summaryrefslogtreecommitdiff
path: root/jstests/libs/txns/txn_passthrough_runner.js
blob: 43d1ecf6575b08f961406dbe34d5820f5d4d383d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(function() {
'use strict';

const testFile = TestData.multiStmtTxnTestFile;

try {
    load(testFile);
} finally {
    // Run a lightweight command to allow the override file to commit the last command.
    // Ensure this command runs even if the test errors.
    assert.commandWorked(db.runCommand({ping: 1}));
}
})();