diff options
author | dwight <dwight@Dwights-MacBook-2.local> | 2009-08-30 11:22:58 -0400 |
---|---|---|
committer | dwight <dwight@Dwights-MacBook-2.local> | 2009-08-30 11:22:58 -0400 |
commit | 6d6f8d5bf72cd76375bc68c7f7dcd1ae79009be5 (patch) | |
tree | a1fd1ddbcd1d9708984f2f603ea2fed976aa36d0 /jstests/sharding/auto2.js | |
parent | 5e31aa0f19e7da2d047c37741ecbfced60e93583 (diff) | |
download | mongo-6d6f8d5bf72cd76375bc68c7f7dcd1ae79009be5.tar.gz |
rename some sharding commands.
Diffstat (limited to 'jstests/sharding/auto2.js')
-rw-r--r-- | jstests/sharding/auto2.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/auto2.js b/jstests/sharding/auto2.js index d81f02a3000..e59e2632e2f 100644 --- a/jstests/sharding/auto2.js +++ b/jstests/sharding/auto2.js @@ -2,8 +2,8 @@ s = new ShardingTest( "auto2" , 2 , 1 , 1 ); -s.adminCommand( { partition : "test" } ); -s.adminCommand( { shard : "test.foo" , key : { num : 1 } } ); +s.adminCommand( { enablesharding : "test" } ); +s.adminCommand( { shardcollection : "test.foo" , key : { num : 1 } } ); bigString = ""; while ( bigString.length < 1024 * 50 ) |