summaryrefslogtreecommitdiff
path: root/jstests/sharding/internal_transactions_for_retryable_findAndModify_failover_prepared_transaction_with_image_collection_disabled.js
blob: d15cf4da3fd58daf3cada2b857006083a699622c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Tests that prepared retryable internal transactions for findAndModify on a shard with image
 * collection disabled are retryable across failover.
 *
 * @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.kFailover);
transactionTest.stop();
})();