summaryrefslogtreecommitdiff
path: root/jstests/sharding/key_many.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/key_many.js')
-rw-r--r--jstests/sharding/key_many.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sharding/key_many.js b/jstests/sharding/key_many.js
index 4becd6746ce..5691932f83b 100644
--- a/jstests/sharding/key_many.js
+++ b/jstests/sharding/key_many.js
@@ -94,9 +94,9 @@ for ( var i=0; i<types.length; i++ ){
assert.eq( 6 , c.find().count() , curT.name + " basic count" );
- s.adminCommand( { split : longName , find : makeObjectDotted( curT.values[3] ) } );
- s.adminCommand( { split : longName , find : makeObjectDotted( curT.values[3] ) } );
- s.adminCommand( { split : longName , find : makeObjectDotted( curT.values[3] ) } );
+ s.adminCommand({ split: longName, middle: makeObjectDotted(curT.values[0]) });
+ s.adminCommand({ split: longName, middle: makeObjectDotted(curT.values[2]) });
+ s.adminCommand({ split: longName, middle: makeObjectDotted(curT.values[5]) });
s.admin.runCommand({ movechunk: longName, find: makeObjectDotted( curT.values[2] ),
to: secondary.getMongo().name, _waitForDelete : true });