summaryrefslogtreecommitdiff
path: root/jstests/sharding/autosplit_heuristics.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/autosplit_heuristics.js')
-rw-r--r--jstests/sharding/autosplit_heuristics.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/sharding/autosplit_heuristics.js b/jstests/sharding/autosplit_heuristics.js
index c4d415ce0de..618541e314b 100644
--- a/jstests/sharding/autosplit_heuristics.js
+++ b/jstests/sharding/autosplit_heuristics.js
@@ -3,8 +3,11 @@
// works as expected even after splitting.
//
-var st =
- new ShardingTest({shards: 1, mongos: 1, other: {mongosOptions: {chunkSize: 1, verbose: 2}}});
+var st = new ShardingTest({
+ shards: 1,
+ mongos: 1,
+ other: {mongosOptions: {chunkSize: 1, verbose: 2}, enableAutoSplit: true}
+});
// The balancer is by default stopped, thus it will NOT interfere unpredictably with the chunk
// moves/splits depending on the timing.