From 8e6f0e63487d1b8e0ee9fd2037de82636fa9b6f9 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Fri, 22 Dec 2023 10:31:28 +0100 Subject: [PATCH] better try --- integrations/pinecone/pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integrations/pinecone/pyproject.toml b/integrations/pinecone/pyproject.toml index 9de2561fe..069dba1be 100644 --- a/integrations/pinecone/pyproject.toml +++ b/integrations/pinecone/pyproject.toml @@ -49,8 +49,9 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] # Pinecone tests are slow (require HTTP requests), so we run them in parallel -test = "pytest -n auto --dist worksteal {args:tests}" -test-cov = "coverage run -m pytest -n auto --dist worksteal {args:tests}" +# with pytest-xdist (https://pytest-xdist.readthedocs.io/en/stable/distribution.html) +test = "pytest -n auto --maxprocesses=3 {args:tests}" +test-cov = "coverage run -m pytest -n auto --maxprocesses=3 {args:tests}" cov-report = [ "- coverage combine", "coverage report",