Skip to content

Commit

Permalink
wait for relations-api before e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Nov 21, 2024
1 parent 45dc187 commit 1a26877
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/kind/e2e/e2e-batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a26877

Please sign in to comment.