summaryrefslogtreecommitdiff
path: root/jstests/httpinterface
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2016-02-12 17:00:02 -0500
committerMisha Tyulenev <misha@mongodb.com>2016-02-12 17:00:02 -0500
commit543bf9945a662d6aba31df847cd9153c28b440eb (patch)
tree5daa0ea0d8c07e7e87400ff5f59b18dfc76c7c0a /jstests/httpinterface
parent35567bda6d1479740bfc75954858f0ce28978e37 (diff)
downloadmongo-543bf9945a662d6aba31df847cd9153c28b440eb.tar.gz
SERVER-22319 remove SCCC tests from testcases
Diffstat (limited to 'jstests/httpinterface')
-rw-r--r--jstests/httpinterface/sharding_configdb_on_default_ports.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/jstests/httpinterface/sharding_configdb_on_default_ports.js b/jstests/httpinterface/sharding_configdb_on_default_ports.js
index 9c4f2f8605c..4472a7a515b 100644
--- a/jstests/httpinterface/sharding_configdb_on_default_ports.js
+++ b/jstests/httpinterface/sharding_configdb_on_default_ports.js
@@ -29,16 +29,5 @@
c2 = MongoRunner.runMongod({configsvr: "", storageEngine: "wiredTiger"});
c3 = MongoRunner.runMongod({configsvr: "", storageEngine: "wiredTiger"});
- var configstrs = [
- getHostPart(c1.host) + "," + c2.host + "," + c3.host,
- getHostPart(c1.host),
- "csrs/" + getHostPart(c1.host)
- ];
- var failureMessages = [];
- configstrs.forEach(function (configdb) {
- if (!MongoRunner.runMongos({configdb: configdb})) {
- failureMessages.push("Failed to start mongos with configdb=\"" + configdb + "\"");
- }
- });
- assert.eq(0, failureMessages.length, tojson(failureMessages));
+ assert(MongoRunner.runMongos({configdb: "csrs/" + getHostPart(c1.host) }));
}());