chore: Improve health checks to avoid waiting 10 sec (#1888)

**What**
Sometimes the some integration tests that are depending on external services are failing due to timeout.

One of the reason is that the health check is done every 10 sec with a timeout of 5sec, which can lead to long waiting time before continuing

FIXED CORE-326
This commit is contained in:
Adrien de Peretti
2022-07-26 15:44:21 +02:00
committed by GitHub
parent b8ddb31f6f
commit 8dd85e5f03

View File

@@ -80,9 +80,9 @@ jobs:
image: redis image: redis
options: >- options: >-
--health-cmd "redis-cli ping" --health-cmd "redis-cli ping"
--health-interval 10s --health-interval 1s
--health-timeout 5s --health-timeout 10s
--health-retries 5 --health-retries 10
ports: ports:
- 6379:6379 - 6379:6379
postgres: postgres:
@@ -92,9 +92,9 @@ jobs:
POSTGRES_USER: postgres POSTGRES_USER: postgres
options: >- options: >-
--health-cmd pg_isready --health-cmd pg_isready
--health-interval 10s --health-interval 1s
--health-timeout 5s --health-timeout 10s
--health-retries 5 --health-retries 10
ports: ports:
- 5432:5432 - 5432:5432
@@ -164,9 +164,9 @@ jobs:
POSTGRES_USER: postgres POSTGRES_USER: postgres
options: >- options: >-
--health-cmd pg_isready --health-cmd pg_isready
--health-interval 10s --health-interval 1s
--health-timeout 5s --health-timeout 10s
--health-retries 5 --health-retries 10
ports: ports:
- 5432:5432 - 5432:5432