diff --git a/tests/e2e/pyproject.toml b/tests/e2e/pyproject.toml index ca4f5f61..131e765e 100644 --- a/tests/e2e/pyproject.toml +++ b/tests/e2e/pyproject.toml @@ -13,6 +13,7 @@ dependencies = [ "pytest-sugar>=1.0.0", "deepdiff>=8.0.1", "pytest-retry>=1.6.3", + "pytest-xdist>=3.5.0", "anthropic>=0.66.0", "openai>=1.0.0", ] diff --git a/tests/e2e/run_model_alias_tests.sh b/tests/e2e/run_model_alias_tests.sh index 7d2c161f..80ecf0c5 100755 --- a/tests/e2e/run_model_alias_tests.sh +++ b/tests/e2e/run_model_alias_tests.sh @@ -42,7 +42,7 @@ cd - # Run both test suites that share this config in a single pytest invocation log "running e2e tests for model alias routing + openai responses api" -uv run pytest test_model_alias_routing.py test_openai_responses_api_client.py +uv run pytest -n auto test_model_alias_routing.py test_openai_responses_api_client.py # Cleanup log "shutting down"