From a2db91ada268d49d61b8fe6a36efee3602a92592 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:22:46 +0400 Subject: [PATCH] fix: increase timeout for no vector test --- 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 739b878d..0456b43b 100644 --- a/tests/unit/test_router.py +++ b/tests/unit/test_router.py @@ -956,7 +956,7 @@ class TestSemanticRouter: if index_cls is PineconeIndex: route_layer.index.dimensions = len(vector) route_layer.index.index = route_layer.index._init_index(force_create=True) - time.sleep(PINECONE_SLEEP * 2) # allow for index to be populated + time.sleep(PINECONE_SLEEP * 3) # allow for index to be populated with pytest.raises(ValueError): if router_cls is HybridRouter: route_layer(vector=vector, sparse_vector=sparse_vector) -- GitLab