Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vits-99 committed Sep 19, 2024
1 parent d9d25b5 commit 0196644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint lint_diff:
poetry run mypy $(PYTHON_FILES)

test:
poetry run pytest -vv -n 20 --cov=semantic_router --cov-report=term-missing --cov-report=xml
poetry run pytest -vv --cov=semantic_router --cov-report=term-missing --cov-report=xml

test_functional:
poetry run pytest -vv -n 20 tests/functional
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from platform import python_version


PINECONE_SLEEP = 15
PINECONE_SLEEP = 12


def mock_encoder_call(utterances):
Expand Down Expand Up @@ -50,7 +50,6 @@ def init_index(
index = index_cls(
index_name=TEST_ID, dimensions=dimensions, namespace=namespace, sync=sync
)
time.sleep(PINECONE_SLEEP)
else:
index = index_cls()
return index
Expand Down

0 comments on commit 0196644

Please sign in to comment.