Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

[Fix] Update test_bad_database_url to match new startup error message

yuneng-jiang28989a11e7cd
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7f410baf8fd..23a62df4789 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -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."