From 1a06ae6f07129247a443b54705e352442fcddf17 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:48:14 +0400 Subject: [PATCH] fix: pinecone delays --- tests/unit/test_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_router.py b/tests/unit/test_router.py index 6f3db8c1..19e779e3 100644 --- a/tests/unit/test_router.py +++ b/tests/unit/test_router.py @@ -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"]