SERVER-126103 Use jsTestName()-based collection names in check_metadata_consistency_basic.js (#53286)

Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@mongodb.com>
GitOrigin-RevId: 81cee28b9f58e71fa4264043a8c75a94f4cf5d7a
This commit is contained in:
Daniele Alessandrelli 2026-05-07 14:43:34 +01:00 committed by MongoDB Bot
parent 3c5dfe63ec
commit f869a2b8de

View File

@ -70,8 +70,8 @@ function assertNoInconsistencies() {
// Check on a clean cluster.
assertNoInconsistencies();
const kCollectionName = "coll";
const kCollectionName2 = "coll2";
const kCollectionName = jsTestName() + "_sharded";
const kCollectionName2 = jsTestName() + "_unsharded";
const kNss = db.getName() + "." + kCollectionName;
const kNss2 = db.getName() + "." + kCollectionName2;
let kDDLCommands = [{enableSharding: db.getName()}, {shardCollection: kNss, key: {_id: 1}}];