Skip to content

Commit

Permalink
[integration tests] Change timings of sda healthchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Aug 10, 2023
1 parent 8ffe06f commit e44fee8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/integration/sda-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e44fee8

Please sign in to comment.