Skip to content

refactor(pgvector): use async DocumentStore mixin tests#3094

Open
SyedShahmeerAli12 wants to merge 2 commits intodeepset-ai:mainfrom
SyedShahmeerAli12:refactor/pgvector-async-mixin-tests
Open

refactor(pgvector): use async DocumentStore mixin tests#3094
SyedShahmeerAli12 wants to merge 2 commits intodeepset-ai:mainfrom
SyedShahmeerAli12:refactor/pgvector-async-mixin-tests

Conversation

@SyedShahmeerAli12
Copy link
Copy Markdown
Contributor

Related Issues

Closes #3050

What this changes

Refactors integrations/pgvector/tests/test_document_store_async.py to inherit from the async mixin classes introduced in deepset-ai/haystack#10799.

  • Removes 17 duplicate tests now covered by the mixins
  • Keeps all pgvector-specific tests (blob write, connection recreation, invalid connection string, empty meta validation, hnsw index recreation, table management)

Closes deepset-ai#3052

Replaces duplicate async test implementations with the mixin classes
from haystack.testing.document_store and haystack.testing.document_store_async.

- Removes 19 tests now covered by the mixins
- Keeps all Qdrant-specific tests (hybrid search, sparse config, collection
  setup validation, vector preservation)
Closes deepset-ai#3050

Replaces duplicate async test implementations with mixin classes
from haystack.testing.document_store and haystack.testing.document_store_async.

- Removes 17 tests now covered by the mixins
- Keeps all pgvector-specific tests (blob write, connection recreation,
  invalid connection, empty meta validation, hnsw index, table management)
@SyedShahmeerAli12 SyedShahmeerAli12 requested a review from a team as a code owner April 2, 2026 15:22
@SyedShahmeerAli12 SyedShahmeerAli12 requested review from sjrl and removed request for a team April 2, 2026 15:22
@github-actions github-actions bot added integration:qdrant integration:pgvector type:documentation Improvements or additions to documentation labels Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use async DocumentStore mixin tests in pgvector

1 participant