From edceb0c5e345f15f660776ded34b3f5e3245533d Mon Sep 17 00:00:00 2001 From: Antonio Fuschetto Date: Fri, 28 Jan 2022 13:43:35 +0000 Subject: SERVER-62905 Remove all the code related to the long collection names project --- jstests/sharding/repair_sharded_collection_history.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'jstests/sharding/repair_sharded_collection_history.js') diff --git a/jstests/sharding/repair_sharded_collection_history.js b/jstests/sharding/repair_sharded_collection_history.js index 1c9c529303a..7ad51a6dc91 100644 --- a/jstests/sharding/repair_sharded_collection_history.js +++ b/jstests/sharding/repair_sharded_collection_history.js @@ -7,8 +7,6 @@ (function() { 'use strict'; -load('jstests/sharding/libs/catalog_cache_loader_helpers.js'); - var st = new ShardingTest({ shards: 1, }); @@ -55,8 +53,7 @@ chunks.forEach((chunk) => { assert(chunk.hasOwnProperty('historyIsAt40'), 'test1.foo does not have a historyIsAt40 after repair'); }); -chunks = - shardPrimaryConfigDB.getCollection(getCachedChunksCollectionName(collection)).find().toArray(); +chunks = shardPrimaryConfigDB.getCollection('cache.chunks.test1.foo').find().toArray(); assert.eq(chunks.length, 4); chunks.forEach((chunk) => { assert.neq(null, chunk); -- cgit v1.2.1