RetailMeNot / SeleniumGridScaler

Selenium Grid auto scaling plugin utilizing AWS
GNU General Public License v2.0
28 stars 76 forks source link

Ahampton updates #16

Open adam-hampton-sp opened 8 years ago

adam-hampton-sp commented 8 years ago

Adding support for the ratio of browsers to EC2 host instances to be configurable. Previously the ratios were hard-coded at 5 chrome instances per host and 1 firefox instance. Some users/organizations may want to change this ratio. The previous behavior remains the default.

New values are applied at runtime if the awsProperties contain keys like:

Example config might look like: node_max_processes_chrome=8 node_instance_type_chrome=c4.large node_max_processes_firefox=1 node_instance_type_firefox=t2.small node_instance_type_internetexplorer=t2.small `