diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-11-16 17:43:22 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-12-09 12:20:02 -0500 |
commit | 8c67bb9322f351cd54fa9a80de7c33d3c4fdfdc8 (patch) | |
tree | 6440f151d2ba327517b86f089f5e053dd33cb365 /jstests/httpinterface | |
parent | 13270a048515916324c5f44958c225550d5c4dc9 (diff) | |
download | mongo-8c67bb9322f351cd54fa9a80de7c33d3c4fdfdc8.tar.gz |
SERVER-21384 Enable all suites on ephemeral storage engines
Diffstat (limited to 'jstests/httpinterface')
-rw-r--r-- | jstests/httpinterface/sharding_configdb_on_default_ports.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/jstests/httpinterface/sharding_configdb_on_default_ports.js b/jstests/httpinterface/sharding_configdb_on_default_ports.js index c11e3ce06af..9c4f2f8605c 100644 --- a/jstests/httpinterface/sharding_configdb_on_default_ports.js +++ b/jstests/httpinterface/sharding_configdb_on_default_ports.js @@ -17,10 +17,17 @@ } var c1, c2, c3; - c1 = MongoRunner.runMongod({configsvr: "", port: 27019, replSet: "csrs"}); + // The config servers must support readConcern: majority to be run as a replica set, so + // explicitly set storage engine to wiredTiger. + c1 = MongoRunner.runMongod({ + configsvr: "", + port: 27019, + replSet: "csrs", + storageEngine: "wiredTiger" + }); assert.commandWorked(c1.adminCommand("replSetInitiate")); - c2 = MongoRunner.runMongod({configsvr: ""}); - c3 = MongoRunner.runMongod({configsvr: ""}); + c2 = MongoRunner.runMongod({configsvr: "", storageEngine: "wiredTiger"}); + c3 = MongoRunner.runMongod({configsvr: "", storageEngine: "wiredTiger"}); var configstrs = [ getHostPart(c1.host) + "," + c2.host + "," + c3.host, |