From 2ac91a8bfa927ed90c08a0c29d04e940e378d8d4 Mon Sep 17 00:00:00 2001 From: yucheng Date: Sat, 19 Sep 2026 20:56:00 +0000 Subject: [PATCH] test(proxy): assert the current Langfuse shutdown flush warning Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/test_litellm/proxy/proxy_server/test_lifecycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/proxy_server/test_lifecycle.py b/tests/test_litellm/proxy/proxy_server/test_lifecycle.py index ed6087d03e9..9f301205d9a 100644 --- a/tests/test_litellm/proxy/proxy_server/test_lifecycle.py +++ b/tests/test_litellm/proxy/proxy_server/test_lifecycle.py @@ -184,7 +184,7 @@ async def test_proxy_shutdown_flushes_langfuse_off_the_event_loop_and_logs_a_tim (flush_thread, timeout_millis), _ = ran_on.call_args assert flush_thread is not threading.main_thread() assert timeout_millis == LANGFUSE_SHUTDOWN_FLUSH_TIMEOUT_MILLIS - assert any("Langfuse export did not finish" in record.getMessage() for record in caplog.records) + assert any("Langfuse shutdown flush incomplete" in record.getMessage() for record in caplog.records) @pytest.mark.asyncio