diff --git a/tests/test_spend_logs.py b/tests/test_spend_logs.py index fcd2bbf4a1d..c575fa07551 100644 --- a/tests/test_spend_logs.py +++ b/tests/test_spend_logs.py @@ -158,6 +158,9 @@ async def generate_team(session: aiohttp.ClientSession, org_id: str) -> dict: return await response.json() +@pytest.mark.skip( + reason="Flaky in CI: /spend/logs?request_id=... returns 500 even after a 20s wait for the spend log to be written. Same write-then-read race against the spend logs DB as test_spend_logs. Spend-log accuracy is covered by tests/test_litellm/proxy/spend_tracking/ and the proxy_spend_accuracy_tests CircleCI job." +) @pytest.mark.asyncio async def test_spend_logs_with_org_id(): """