Skip to content

Commit

Permalink
Pinecone: skip test_write_documents_duplicate_overwrite test (#637)
Browse files Browse the repository at this point in the history
* skip test_write_documents_duplicate_overwrite

* rm unused imports

* use xfail
  • Loading branch information
anakin87 authored Apr 2, 2024
1 parent 958f44c commit 9b922d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integrations/pinecone/tests/test_document_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ def test_write_documents(self, document_store: PineconeDocumentStore):
docs = [Document(id="1")]
assert document_store.write_documents(docs) == 1

@pytest.mark.xfail(
run=True, reason="Pinecone supports overwriting by default, but it takes a while for it to take effect"
)
def test_write_documents_duplicate_overwrite(self, document_store: PineconeDocumentStore): ...

@pytest.mark.skip(reason="Pinecone only supports UPSERT operations")
def test_write_documents_duplicate_fail(self, document_store: PineconeDocumentStore): ...

Expand Down

0 comments on commit 9b922d6

Please sign in to comment.