Skip to content

Commit

Permalink
fix: pinecone delays
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 4, 2025
1 parent 0d617ac commit 1a06ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def test_query_and_classification(self, routes, index_cls, encoder_cls, router_c
auto_sync="local",
)
if index_cls is PineconeIndex:
time.sleep(PINECONE_SLEEP) # allow for index to be populated
time.sleep(PINECONE_SLEEP*2) # allow for index to be populated
query_result = route_layer(text="Hello").name
assert query_result in ["Route 1", "Route 2"]

Expand Down

0 comments on commit 1a06ae6

Please sign in to comment.