forked from mhardin/SeleniumGridScaler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartGrid
More file actions
executable file
·26 lines (19 loc) · 741 Bytes
/
startGrid
File metadata and controls
executable file
·26 lines (19 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# check required params
[ -z ${AWS_ACCESS_KEY} ] && echo "AWS_ACCESS_KEY MUST BE SET!" && exit 1
[ -z ${AWS_SECRET_KEY} ] && echo "AWS_SECRET_KEY MUST BE SET!" && exit 1
# set defaults
[ -z ${IP_ADDRESS} ] && IP_ADDRESS=10.10.10.10
java -DawsAccessKey="${AWS_ACCESS_KEY}" \
-DawsSecretKey="${AWS_SECRET_KEY}" \
-DipAddress="${IP_ADDRESS}" \
-cp /target/automation-grid.jar org.openqa.grid.selenium.GridLauncher \
-role hub \
-servlets "com.rmn.qa.servlet.AutomationTestRunServlet","com.rmn.qa.servlet.StatusServlet"
#-DPOOL_MAX=1024
#-DawsAccessKey=foo
#-DawsSecretKey=bar
#-DtotalNodeCount=300
#-DipAddress="10.10.10.10"
#-hubConfig src/main/resources/hub.static.json
#-log grid.log
#-jettyMaxThreads 1024