Skip to content

Commit

Permalink
test: add jaeger health check
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun authored and glimchb committed Oct 31, 2023
1 parent b99a780 commit d148ea0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ services:
depends_on:
redis:
condition: service_healthy
jaeger:
condition: service_healthy
command: /opi-nvidia-bridge -grpc_port=50051 -http_port=8082 -spdk_addr /var/tmp/spdk.sock -redis_addr=redis:6379
healthcheck:
test: grpcurl -plaintext localhost:50051 list || exit 1
Expand All @@ -40,6 +42,16 @@ services:
- COLLECTOR_OTLP_ENABLED=true
networks:
- opi
healthcheck:
test:
[
"CMD-SHELL",
"nc -zv localhost 4317 && nc -zv localhost 4318 || exit 1"
]
interval: 6s
retries: 5
start_period: 20s
timeout: 10s

opi-gw-test:
image: curlimages/curl:8.4.0
Expand Down

0 comments on commit d148ea0

Please sign in to comment.