Skip to content

Commit

Permalink
pinecone - decrease concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Feb 1, 2024
1 parent 0d15e36 commit 1457ad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integrations/pinecone/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ dependencies = [
[tool.hatch.envs.default.scripts]
# Pinecone tests are slow (require HTTP requests), so we run them in parallel
# 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}"
test = "pytest -n auto --maxprocesses=2 {args:tests}"
test-cov = "coverage run -m pytest -n auto --maxprocesses=2 {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
Expand Down
2 changes: 1 addition & 1 deletion integrations/pinecone/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from haystack_integrations.document_stores.pinecone import PineconeDocumentStore

# This is the approximate time it takes for the documents to be available
SLEEP_TIME = 25
SLEEP_TIME = 22


@pytest.fixture()
Expand Down

0 comments on commit 1457ad7

Please sign in to comment.