1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Increase time allowed for docker instacnes to start

This commit is contained in:
Thomas Walpole 2018-06-27 15:27:02 -07:00
parent 06265cefd5
commit a8fdf19421

View file

@ -97,14 +97,14 @@ before_script:
- if [[ $CAPYBARA_REMOTE = true ]]; then
docker-compose up -d
TIMEOUT=10
TIMEOUT=20
until wget --spider http://localhost:4444 > /dev/null 2>&1 || [ $TIMEOUT -eq 0 ]; do
echo "Waiting for selenium server, $((TIMEOUT--)) remaining attempts...";
sleep 1;
done
TIMEOUT=10
TIMEOUT=20
until wget --spider http://localhost:4445 > /dev/null 2>&1 || [ $TIMEOUT -eq 0 ]; do
echo "Waiting for selenium server, $((TIMEOUT--)) remaining attempts...";