diff --git a/deploy/kind/e2e/e2e-batch.yaml b/deploy/kind/e2e/e2e-batch.yaml index 6737d4fd..17ad04e3 100644 --- a/deploy/kind/e2e/e2e-batch.yaml +++ b/deploy/kind/e2e/e2e-batch.yaml @@ -20,6 +20,13 @@ spec: sleep 5 done echo "Inventory service is ready!" + + echo "Waiting for relations-service to be ready..." + while ! curl -s http://relationships-service:9000/api/authz/readyz; do + echo "Relations service not ready yet. Sleeping for 5 seconds..." + sleep 5 + done + echo "Inventory service is ready!" containers: - name: e2e-http-tests image: localhost/inventory-e2e-tests:e2e-test