fix: update health check URL in Jenkinsfile and reduce wait times in e2e tests
- Changed health check URL from localhost:8000 to localhost:3467 in Jenkinsfile. - Reduced wait times in various e2e tests to improve performance and responsiveness. - Cleaned up logging in middleware.py by removing unnecessary log statement. These changes aim to enhance the CI pipeline efficiency and streamline the testing process.
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -626,7 +626,7 @@ pipeline {
|
||||
sshCommand remote: remote, command: '''
|
||||
set -euo pipefail
|
||||
for i in $(seq 1 12); do
|
||||
STATUS=$(curl -sf -o /dev/null -w "%{http_code}" http://localhost:8000/api/health 2>/dev/null || true)
|
||||
STATUS=$(curl -sf -o /dev/null -w "%{http_code}" http://localhost:3467/api/health 2>/dev/null || true)
|
||||
if [ "$STATUS" = "200" ]; then
|
||||
echo "Smoke test OK — HTTP $STATUS"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user