diff options
Diffstat (limited to 'jstests/sharding/shard5.js')
-rw-r--r-- | jstests/sharding/shard5.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/shard5.js b/jstests/sharding/shard5.js index ebedf5fd592..3652639d73a 100644 --- a/jstests/sharding/shard5.js +++ b/jstests/sharding/shard5.js @@ -21,7 +21,7 @@ assert.eq( 7 , s.getDB( "test" ).foo.find().toArray().length , "normal A" ); assert.eq( 7 , s2.getDB( "test" ).foo.find().toArray().length , "other A" ); s.adminCommand( { split : "test.foo" , middle : { num : 4 } } ); -s.adminCommand( { moveshard : "test.foo" , find : { num : 3 } , to : s.getOther( s.getServer( "test" ) ).name } ); +s.adminCommand( { movechunk : "test.foo" , find : { num : 3 } , to : s.getOther( s.getServer( "test" ) ).name } ); assert( s._connections[0].getDB( "test" ).foo.find().toArray().length > 0 , "blah 1" ); assert( s._connections[1].getDB( "test" ).foo.find().toArray().length > 0 , "blah 2" ); @@ -32,7 +32,7 @@ assert.eq( 7 , s.getDB( "test" ).foo.find().toArray().length , "normal B" ); assert.eq( 7 , s2.getDB( "test" ).foo.find().toArray().length , "other B" ); s.adminCommand( { split : "test.foo" , middle : { num : 2 } } ); -//s.adminCommand( { moveshard : "test.foo" , find : { num : 3 } , to : s.getOther( s.getServer( "test" ) ).name } ); +//s.adminCommand( { movechunk : "test.foo" , find : { num : 3 } , to : s.getOther( s.getServer( "test" ) ).name } ); s.printShards() print( "* A" ); |