Skip to content

Commit

Permalink
Update the time of sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeineb2001 authored Nov 26, 2024
1 parent 4bdce03 commit 80e1ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/catalog-service-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
nohup java -jar service-catalog.jar --server.port=8082 > service-catalog.log 2>&1 &
echo "Service deployed successfully!"
sleep 10
sleep 30
echo "Performing health check..."
curl -X 'GET' 'http://localhost:8082/products' -H 'accept: /' || (echo "Service health check failed!" && exit 1)
Expand Down

0 comments on commit 80e1ffe

Please sign in to comment.