haystack icon indicating copy to clipboard operation
haystack copied to clipboard

Async test mixins should use only async methods end-to-end:

Open davidsbatista opened this issue 7 months ago • 1 comments

Some test are writing the test documents using the sync client, namely:

  • UpdateByFilterAsyncTest
  • CountDocumentsByFilterAsyncTest
document_store.write_documents(docs)
assert document_store.count_documents() == 4

should be

document_store.write_documents_async(docs)
assert document_store.count_documents_async() == 4

davidsbatista avatar Apr 22 '26 15:04 davidsbatista

Hi @davidsbatista 👋

I've opened this PR to fix issue #11173. All 144 tests pass locally.

Could you please approve the workflows to run the full CI? Thank you!

ShubhamGond105 avatar Apr 22 '26 18:04 ShubhamGond105