File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
jstests/sharding/analyze_shard_key Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function makeTestListSampledQueriesAggregateCmdObj(ns) {
18
18
return { aggregate : 1 , pipeline : [ { $listSampledQueries : { namespace : ns } } ] , cursor : { } } ;
19
19
}
20
20
21
- function makeAnalyzeShardKeyAggregateCmdObj ( ns ) {
21
+ function makeTestAnalyzeShardKeyAggregateCmdObj ( ns ) {
22
22
const splitNs = ns . split ( "." ) ;
23
23
return {
24
24
aggregate : splitNs . length == 1 ? "" : splitNs [ 1 ] ,
@@ -78,7 +78,7 @@ function runTests(conn, rst) {
78
78
testCollName0 ,
79
79
false /* requiresCollectionToExist */ ) ;
80
80
runTestForCmd ( rst . getPrimary ( ) . getDB ( testDbName ) ,
81
- makeAnalyzeShardKeyAggregateCmdObj ,
81
+ makeTestAnalyzeShardKeyAggregateCmdObj ,
82
82
testDbName ,
83
83
testCollName0 ,
84
84
true /* requiresCollectionToExist */ ) ;
@@ -101,7 +101,7 @@ function runTests(conn, rst) {
101
101
testCollName0 ,
102
102
false /* requiresCollectionToExist */ ) ;
103
103
runTestForCmd ( rst . getPrimary ( ) . getDB ( testDbName ) ,
104
- makeAnalyzeShardKeyAggregateCmdObj ,
104
+ makeTestAnalyzeShardKeyAggregateCmdObj ,
105
105
testDbName ,
106
106
testCollName0 ,
107
107
true /* requiresCollectionToExist */ ) ;
You can’t perform that action at this time.
0 commit comments