Files
mongo/jstests/core/clustered/clustered_collection_basic.js
Brett Nawrocki 2cee0f7b89 SERVER-96155 Remove tenant_migration_incompatible tag (#28490)
GitOrigin-RevId: b31fcb7c93ff15df5f84a5b13eac886a10bb8c1c
2024-10-30 16:28:53 +00:00

23 lines
679 B
JavaScript

/**
* Tests inserting various cluster key values, duplicates, updates and secondary index lookups
* on a collection clustered by {_id: 1}.
*
* @tags: [
* assumes_against_mongod_not_mongos,
* assumes_no_implicit_collection_creation_after_drop,
* does_not_support_stepdowns,
* requires_fcv_53,
* ]
*/
import {
ClusteredCollectionUtil
} from "jstests/libs/clustered_collections/clustered_collection_util.js";
const replicatedDB = db.getSiblingDB('replicated');
const collName = 'clustered_collection';
const replicatedColl = replicatedDB[collName];
replicatedColl.drop();
ClusteredCollectionUtil.testBasicClusteredCollection(replicatedDB, collName, '_id');