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:
parent
06265cefd5
commit
a8fdf19421
1 changed files with 2 additions and 2 deletions
|
@ -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...";
|
||||
|
|
Loading…
Reference in a new issue