From 28989a11e7cd54a5c489015555b4bd659ec67d11 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Wed, 11 Mar 2026 15:17:30 -0700 Subject: [PATCH] [Fix] Update test_bad_database_url to match new startup error message PR #23257 changed proxy startup to exit early with "Database setup failed after multiple retries" instead of letting uvicorn emit "Application startup failed. Exiting." Update the CI grep check to accept either error message for robustness. Co-Authored-By: Claude Opus 4.6 --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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."