From ea0da596f6a9e6c1d4d2301225639e483d4bfd61 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 17 Dec 2024 15:34:53 -0500 Subject: [PATCH] increase sleep between adding documents and querying --- .../pinecone/tests/integration_tests/test_embeddings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/pinecone/tests/integration_tests/test_embeddings.py b/libs/partners/pinecone/tests/integration_tests/test_embeddings.py index 56c9cd3e45e6f..97d1ca3883836 100644 --- a/libs/partners/pinecone/tests/integration_tests/test_embeddings.py +++ b/libs/partners/pinecone/tests/integration_tests/test_embeddings.py @@ -69,6 +69,6 @@ def test_vector_store( ) -> None: vectorstore = PineconeVectorStore(index_name=INDEX_NAME, embedding=embd_client) vectorstore.add_documents([Document("Hello, world!"), Document("This is a test.")]) - time.sleep(5) + time.sleep(20) resp = vectorstore.similarity_search(query="hello") assert len(resp) == 2