mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-05-15 21:48:14 +02:00
update messages
This commit is contained in:
@@ -66,7 +66,7 @@ jobs:
|
||||
while [ $attempt -le $max_attempts ]; do
|
||||
echo "Health check attempt $attempt of $max_attempts..."
|
||||
if curl -s -f -i http://localhost:9999/ > logs/health_check_$attempt.log 2>&1; then
|
||||
echo "Health check succeeded!"
|
||||
echo "Health check succeeded"
|
||||
break
|
||||
else
|
||||
echo "Health check failed, waiting 5 seconds..."
|
||||
@@ -88,11 +88,11 @@ jobs:
|
||||
-H "Content-Type: application/json" > logs/test_request.log 2>&1
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Test API request failed!"
|
||||
echo "Test API request failed"
|
||||
cat logs/test_request.log
|
||||
exit 1
|
||||
else
|
||||
echo "Test API request succeeded!"
|
||||
echo "Test API request succeeded"
|
||||
cat logs/test_request.log
|
||||
fi
|
||||
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
if ps -p $API_PID > /dev/null; then
|
||||
echo "API process is running" >> logs/system_monitor.log
|
||||
else
|
||||
echo "API process is NOT running!" >> logs/system_monitor.log
|
||||
echo "API process is NOT running" >> logs/system_monitor.log
|
||||
fi
|
||||
echo "-------------------" >> logs/system_monitor.log
|
||||
sleep 10
|
||||
|
||||
Reference in New Issue
Block a user