Skip to content

Commit

Permalink
decrease sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Apr 27, 2024
1 parent a510d91 commit 5e06cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def test_query_filter_pinecone(self, openai_encoder, routes, index_cls):
route_layer = RouteLayer(
encoder=openai_encoder, routes=routes, index=pineconeindex
)
time.sleep(10) # allow for index to be populated
time.sleep(5) # allow for index to be populated
query_result = route_layer(text="Hello", route_filter=["Route 1"]).name

try:
Expand All @@ -299,7 +299,7 @@ def test_namespace_pinecone_index(self, openai_encoder, routes, index_cls):
route_layer = RouteLayer(
encoder=openai_encoder, routes=routes, index=pineconeindex
)
time.sleep(10) # allow for index to be populated
time.sleep(5) # allow for index to be populated
query_result = route_layer(text="Hello", route_filter=["Route 1"]).name

try:
Expand Down

0 comments on commit 5e06cd1

Please sign in to comment.