From e44fee8e6d532214c746a126dd6c419ddf1e7adf Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Thu, 10 Aug 2023 09:30:28 +0200 Subject: [PATCH] [integration tests] Change timings of sda healthchecks --- .github/integration/sda-integration.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/integration/sda-integration.yml b/.github/integration/sda-integration.yml index d034f6f1c..eaac66a55 100644 --- a/.github/integration/sda-integration.yml +++ b/.github/integration/sda-integration.yml @@ -24,9 +24,9 @@ services: - POSTGRES_PASSWORD=rootpasswd healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] - interval: 5s - timeout: 20s - retries: 3 + interval: 10s + timeout: 2s + retries: 6 image: ghcr.io/neicnordic/sensitive-data-archive:PR${PR_NUMBER}-postgres ports: - "15432:5432" @@ -46,9 +46,9 @@ services: "-c", "rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms", ] - interval: 5s - timeout: 20s - retries: 3 + interval: 10s + timeout: 2s + retries: 6 image: ghcr.io/neicnordic/sensitive-data-archive:PR${PR_NUMBER}-rabbitmq ports: - "15672:15672" @@ -66,9 +66,9 @@ services: - MINIO_SERVER_URL=http://127.0.0.1:9000 healthcheck: test: ["CMD", "curl", "-fkq", "http://localhost:9000/minio/health/live"] - interval: 5s - timeout: 20s - retries: 3 + interval: 10s + timeout: 2s + retries: 6 ports: - "19000:9000" - "19001:9001" @@ -122,9 +122,9 @@ services: condition: service_completed_successfully healthcheck: test: ["CMD", "python3", "-c", 'import requests; print(requests.get(url = "http://localhost:8080/jwk").text)'] - interval: 5s - timeout: 20s - retries: 3 + interval: 10s + timeout: 2s + retries: 6 image: python:3.10-slim ports: - "8080:8080"