summaryrefslogtreecommitdiff
path: root/jstests/sharding/split_with_force.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/split_with_force.js')
-rw-r--r--jstests/sharding/split_with_force.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/jstests/sharding/split_with_force.js b/jstests/sharding/split_with_force.js
index c66d2f145eb..35e25b5803e 100644
--- a/jstests/sharding/split_with_force.js
+++ b/jstests/sharding/split_with_force.js
@@ -40,13 +40,15 @@ jsTest.log("Get split points of the chunk using force : true...");
var maxChunkSizeBytes = 1024 * 1024;
-var splitKeys = shardAdmin.runCommand({
- splitVector: coll + "",
- keyPattern: {_id: 1},
- min: {_id: 0},
- max: {_id: MaxKey},
- force: true
-}).splitKeys;
+var splitKeys = shardAdmin
+ .runCommand({
+ splitVector: coll + "",
+ keyPattern: {_id: 1},
+ min: {_id: 0},
+ max: {_id: MaxKey},
+ force: true
+ })
+ .splitKeys;
printjson(splitKeys);
printjson(coll.stats());