Skip to content

Commit e7760aa

Browse files
cheahuychouEvergreen Agent
authored andcommitted
SERVER-81939 Fix helper function name
1 parent 77a2568 commit e7760aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jstests/sharding/analyze_shard_key/ns_validation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function makeTestListSampledQueriesAggregateCmdObj(ns) {
1818
return {aggregate: 1, pipeline: [{$listSampledQueries: {namespace: ns}}], cursor: {}};
1919
}
2020

21-
function makeAnalyzeShardKeyAggregateCmdObj(ns) {
21+
function makeTestAnalyzeShardKeyAggregateCmdObj(ns) {
2222
const splitNs = ns.split(".");
2323
return {
2424
aggregate: splitNs.length == 1 ? "" : splitNs[1],
@@ -78,7 +78,7 @@ function runTests(conn, rst) {
7878
testCollName0,
7979
false /* requiresCollectionToExist */);
8080
runTestForCmd(rst.getPrimary().getDB(testDbName),
81-
makeAnalyzeShardKeyAggregateCmdObj,
81+
makeTestAnalyzeShardKeyAggregateCmdObj,
8282
testDbName,
8383
testCollName0,
8484
true /* requiresCollectionToExist */);
@@ -101,7 +101,7 @@ function runTests(conn, rst) {
101101
testCollName0,
102102
false /* requiresCollectionToExist */);
103103
runTestForCmd(rst.getPrimary().getDB(testDbName),
104-
makeAnalyzeShardKeyAggregateCmdObj,
104+
makeTestAnalyzeShardKeyAggregateCmdObj,
105105
testDbName,
106106
testCollName0,
107107
true /* requiresCollectionToExist */);

0 commit comments

Comments
 (0)