summaryrefslogtreecommitdiff
path: root/jstests/sharding/internal_transactions_for_retryable_findAndModify_restart_unprepared_transaction_with_image_collection_enabled.js
blob: d5c06ddddaf87d708b8611fea464243e57e21ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Tests that unprepared retryable internal transactions for findAndModify on a shard with image
 * collection enabled are retryable across restart.
 *
 * @tags: [requires_fcv_53, featureFlagInternalTransactions]
 */
(function() {
'use strict';

load('jstests/sharding/libs/retryable_internal_transaction_test.js');

const transactionTest = new RetryableInternalTransactionTest();
transactionTest.runTestsForAllUnpreparedRetryableInternalTransactionTypes(
    transactionTest.runFindAndModifyTestsEnableImageCollection, transactionTest.TestMode.kRestart);
transactionTest.stop();
})();