Update docker-compose-build.yml (#111)

This commit is contained in:
Leendert de Borst
2024-07-19 20:15:26 +02:00
parent 953e45f62e
commit 28275bb6d9

View File

@@ -47,11 +47,10 @@ jobs:
else
echo "Service responded with $http_code"
fi
- name: Test if localhost:2525 (Email Service) responds
- name: Test if SmtpService responds
- name: Test if localhost:25 (SmtpService) responds
run: |
# Test if the service on localhost:25 responds
response=$(curl -s --connect-timeout 5 localhost:2525)
response=$(curl -s --connect-timeout 5 localhost:25)
if [ -z "$response" ]; then
echo "SmtpService did not respond on port 25. Check if the SmtpService service is running."
exit 1