summaryrefslogtreecommitdiff
path: root/jstests/aggregation
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-03-27 11:16:29 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-03-31 11:34:05 -0400
commit14ce8911246fa6a9ae238d69fac05b169a66e6d4 (patch)
treee2983fd493568b0ac54de52318f23672565f9c53 /jstests/aggregation
parent8f643fd649922344027c901511b8bf4b562879bd (diff)
downloadmongo-14ce8911246fa6a9ae238d69fac05b169a66e6d4.tar.gz
SERVER-17723 setShardingState should not reinitialize config servers list
Currently we reinitialize the list after stepdown, but this is not necessary, because the config servers should never change and in addition, this causes problems with code which assumes once-only initialization.
Diffstat (limited to 'jstests/aggregation')
-rw-r--r--jstests/aggregation/testshard1.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/jstests/aggregation/testshard1.js b/jstests/aggregation/testshard1.js
index 58e6fdbbfb4..c33119b0113 100644
--- a/jstests/aggregation/testshard1.js
+++ b/jstests/aggregation/testshard1.js
@@ -15,10 +15,6 @@ function aggregateNoOrder(coll, pipeline) {
return coll.aggregate(pipeline).toArray();
}
-/*
-> ShardingTest
-function (testName, numShards, verboseLevel, numMongos, otherParams) {
-*/
var shardedAggTest = new ShardingTest({
shards: 2,
verbose: 2,