From 716d7c21f0a0890fda9708b4d39b597bbd305a0e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 23 May 2025 18:49:58 -0700 Subject: [PATCH] use n 4 for mapped tests (#11109) --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c523b1d191e..fd60204b2ce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -923,6 +923,7 @@ jobs: pip install "mcp==1.5.0" pip install "requests-mock>=1.12.1" pip install "responses==0.25.7" + pip install "pytest-xdist==3.6.1" - setup_litellm_enterprise_pip # Run pytest and generate JUnit XML report - run: @@ -930,7 +931,7 @@ jobs: command: | pwd ls - python -m pytest -vv tests/litellm tests/enterprise --cov=litellm --cov-report=xml -x -s -v --junitxml=test-results/junit.xml --durations=10 + python -m pytest -vv tests/litellm tests/enterprise --cov=litellm --cov-report=xml -x -s -v --junitxml=test-results/junit.xml --durations=10 -n 4 no_output_timeout: 120m - run: name: Rename the coverage files