summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard_with_special_db_names.js
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-10-22 11:18:50 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-10-23 09:50:35 -0400
commit3db9d1338c4d15b9b937516676645fd26d5f0a23 (patch)
tree639f8de38537f721aeeeb4c2eb804e9212428d65 /jstests/sharding/shard_with_special_db_names.js
parentc48ff0ba613fdafd51d26f664371522837809a9d (diff)
downloadmongo-3db9d1338c4d15b9b937516676645fd26d5f0a23.tar.gz
SERVER-21009 Remove usages of the multi-argument ShardingTest constructor
No functional changes, just converting everything to use the JSON-based constructor. Also moves some sharding-specific tests out of noPassthroughWithMongod and under the sharding suite.
Diffstat (limited to 'jstests/sharding/shard_with_special_db_names.js')
-rw-r--r--jstests/sharding/shard_with_special_db_names.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jstests/sharding/shard_with_special_db_names.js b/jstests/sharding/shard_with_special_db_names.js
index 2887f364743..cb1ae66a04c 100644
--- a/jstests/sharding/shard_with_special_db_names.js
+++ b/jstests/sharding/shard_with_special_db_names.js
@@ -1,6 +1,8 @@
(function(){
-var s = new ShardingTest( "shard_with_special_db_names", 2, 0, 2 );
+var s = new ShardingTest({ name: "shard_with_special_db_names",
+ shards: 2,
+ mongos: 2 });
var specialDB = "[a-z]+";
var specialNS = specialDB + ".special";
@@ -26,4 +28,3 @@ assert.eq( cursor.count(), 1 );
assert( cursor.next()["dropped"] );
})();
-