From 2dc9b255f26d8ac8b7d4ef2b07eaf40d2fb3a1f5 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 6 May 2026 15:29:32 -0700 Subject: [PATCH] test: register pytest 'slow' marker for real-cloud agent_session tests Avoids the PytestUnknownMarkWarning when collecting `tests/test_litellm/proxy/agent_session_endpoints/vm_providers/test_ec2_provider_real.py` without `-m slow`. LIT-2878 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7ff388f1840..4d1b59d61f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -261,6 +261,7 @@ markers = [ "asyncio: mark test as an asyncio test", "limit_leaks: mark test with memory limit for leak detection (e.g., '40 MB')", "no_parallel: mark test to run sequentially (not in parallel) - typically for memory measurement tests", + "slow: mark test as a slow real-cloud test (e.g., real EC2 RunInstances). Skipped by default; opt in with `pytest -m slow`.", ] filterwarnings = [ # Suppress Pydantic serializer warnings from mock server responses (non-critical for memory tests)