summaryrefslogtreecommitdiff
path: root/jstests/sharding/internal_transactions_for_retryable_findAndModify_restart_prepared_transaction_with_image_collection_disabled.js
blob: 3e5d6473a4f29e2bacad7bbb83931ec351a02d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Tests that prepared retryable internal transactions for findAndModify on a shard with image
 * collection disabled 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.runTestsForAllPreparedRetryableInternalTransactionTypes(
    transactionTest.runFindAndModifyTestsDisableImageCollection, transactionTest.TestMode.kRestart);
transactionTest.stop();
})();