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 <artsiom.koltun@intel.com>
  • Loading branch information
artek-koltun authored and glimchb committed Oct 31, 2023
1 parent 54b2dc2 commit 3faeb81
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 @@ -69,6 +69,8 @@ services:
condition: service_healthy
redis:
condition: service_healthy
jaeger:
condition: service_healthy
command: sh -c "/opi-spdk-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 @@ -90,6 +92,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 3faeb81

Please sign in to comment.