numShards = 3 s = new ShardingTest( "parallel" , numShards , 2 , 2 , { sync : true } ); s.adminCommand( { enablesharding : "test" } ); s.adminCommand( { shardcollection : "test.foo" , key : { _id : 1 } } ); db = s.getDB( "test" ); N = 10000; for ( i=0; i