From 5e06cd18b10d0ab16bb3693cef94aa5f753b62eb Mon Sep 17 00:00:00 2001 From: James Briggs Date: Sat, 27 Apr 2024 19:06:47 +0800 Subject: [PATCH] decrease sleep --- tests/unit/test_layer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_layer.py b/tests/unit/test_layer.py index 241e3e50..7607d37c 100644 --- a/tests/unit/test_layer.py +++ b/tests/unit/test_layer.py @@ -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: @@ -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: