mongo/jstests/auth/truncate_range_replica_set.js
Jan eb468d18f4 SERVER-123564 Add more tests for truncateRange oplog command inside applyOps (#52562)
GitOrigin-RevId: b172ade4b733171fed03fffe44411bfca8ead8f4
2026-04-28 18:54:38 +00:00

17 lines
532 B
JavaScript

/*
* Auth test for the truncateRange command wrapped in an applyOps command, running in a replica set.
* @tags: [
* featureFlagUseReplicatedTruncatesForDeletions,
* requires_replication,
* requires_fcv_83
* ]
*/
import {runTest} from "jstests/auth/lib/truncate_range_base.js";
import {ReplSetTest} from "jstests/libs/replsettest.js";
const replTest = new ReplSetTest({name: jsTestName(), nodes: 2, keyFile: "jstests/libs/key1"});
replTest.startSet();
replTest.initiate();
runTest(replTest.getPrimary());
replTest.stopSet();