Merge pull request #23390 from BerriAI/litellm_/reverent-kalam

[Fix] Update test_bad_database_url CI check for new error message
This commit is contained in:
yuneng-jiang 2026-03-11 16:33:45 -07:00 • committed by GitHub
commit 8617ca6e12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4337,7 +4337,8 @@ jobs:
name: Check for expected error
command: |
if grep -q "Error: P1001: Can't reach database server at" docker_output.log && \
grep -q "ERROR: Application startup failed. Exiting." docker_output.log; then
(grep -q "Database setup failed after multiple retries" docker_output.log || \
grep -q "ERROR: Application startup failed. Exiting." docker_output.log); then
echo "Expected error found. Test passed."
else
echo "Expected error not found. Test failed."