chore(scripts): increase check-url.sh RETRY value

Because:

* Mac M1 and M2 machines are slower to start up infrastructure like Redis and Firestore (which runs under emulation).

This commit:

* Doubles the RETRY period from 120 to 240s as most of the time, the __heartbeat__ response for fxa-auth-server and firestore processes responded between 140 - 190s.

Closes #No ticket
This commit is contained in:
Bianca Danforth 2023-09-06 10:47:19 -04:00
Родитель 803c55bbb1
Коммит 67512368ad
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 2C96DD7DB2A2D72D
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3,7 +3,7 @@
echo "Checking for response from: $1"
RETRY=120
RETRY=240
for i in $(eval echo "{1..$RETRY}"); do
if [ "$(curl -s -o /dev/null --silent -w "%{http_code}" http://$1)" == "${2:-200}" ]; then
echo "$1 responded in $SECONDS seconds"