Skip to content
Snippets Groups Projects
Commit a2db91ad authored by James Briggs's avatar James Briggs
Browse files

fix: increase timeout for no vector test

parent 2ea6b9fa
Branches
Tags
No related merge requests found
...@@ -956,7 +956,7 @@ class TestSemanticRouter: ...@@ -956,7 +956,7 @@ class TestSemanticRouter:
if index_cls is PineconeIndex: if index_cls is PineconeIndex:
route_layer.index.dimensions = len(vector) route_layer.index.dimensions = len(vector)
route_layer.index.index = route_layer.index._init_index(force_create=True) 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): with pytest.raises(ValueError):
if router_cls is HybridRouter: if router_cls is HybridRouter:
route_layer(vector=vector, sparse_vector=sparse_vector) route_layer(vector=vector, sparse_vector=sparse_vector)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment