diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-29 17:29:28 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-29 17:29:28 -0400 |
commit | 8f40a061e80730df24a3d7dacac6962e0846db8f (patch) | |
tree | 9c76c6f002b1f99522c87bfac44207dfb83a2b51 /jstests | |
parent | c6d86af073687d119a4d707bfc1a2d0f0df7419a (diff) | |
download | mongo-8f40a061e80730df24a3d7dacac6962e0846db8f.tar.gz |
SERVER-26309 also enable autosplit in authCommands.js
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/authCommands.js | 2 | ||||
-rw-r--r-- | jstests/sharding/auto_rebalance.js | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/jstests/sharding/authCommands.js b/jstests/sharding/authCommands.js index 810ccaf9292..2fb42801a40 100644 --- a/jstests/sharding/authCommands.js +++ b/jstests/sharding/authCommands.js @@ -12,7 +12,7 @@ var doTest = function() { shards: 2, chunksize: 2, rs: rsOpts, - other: {nopreallocj: 1, useHostname: false} + other: {nopreallocj: 1, useHostname: false, enableAutoSplit: true} }); var mongos = st.s; diff --git a/jstests/sharding/auto_rebalance.js b/jstests/sharding/auto_rebalance.js index 1c20c1ce89f..bf2d2ebca3c 100644 --- a/jstests/sharding/auto_rebalance.js +++ b/jstests/sharding/auto_rebalance.js @@ -4,8 +4,14 @@ 'use strict';
- var st = new ShardingTest(
- {name: 'auto_rebalance_rs', mongos: 1, shards: 2, chunksize: 1, enableAutoSplit: true, rs: {nodes: 3}});
+ var st = new ShardingTest({
+ name: 'auto_rebalance_rs',
+ mongos: 1,
+ shards: 2,
+ chunksize: 1,
+ enableAutoSplit: true,
+ rs: {nodes: 3}
+ });
assert.writeOK(st.getDB("config").settings.update(
{_id: "balancer"}, {$set: {"_secondaryThrottle": false}}, {upsert: true}));
|