mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
test_bad_database_url
This commit is contained in:
parent
bf300f8ca7
commit
d93e85282e
1 changed files with 1 additions and 1 deletions
|
|
@ -2754,7 +2754,7 @@ jobs:
|
|||
name: Check for expected error
|
||||
command: |
|
||||
if grep -q "Error: P1001: Can't reach database server at" docker_output.log && \
|
||||
grep -q "httpx.ConnectError: All connection attempts failed" docker_output.log && \
|
||||
grep -q "prisma.engine.errors.NotConnectedError: Not connected to the query engine" docker_output.log && \
|
||||
grep -q "ERROR: Application startup failed. Exiting." docker_output.log; then
|
||||
echo "Expected error found. Test passed."
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue