Skip to content

tests requiring additional setup #1659

Open
@MetroCat69

Description

@MetroCat69

Describe the bug
Mongodb Atlas tests assume specific documents, collections and databases exists

so tests in test_embedding_retrieval automaticly fail

additionally test_embedding_retrieval and test_embedding_retrieval_async are searching for MONGO_CONNECTION_STRING_2 and till be skipped. I think this is a bug and we need to to replace MONGO_CONNECTION_STRING_2 with MONGO_CONNECTION_STRING

good news I am hard at working at a pr that will ensure this database, collection, documents will be created in an idempotent manner

To Reproduce
cd
git clone https://github.com/deepset-ai/haystack-core-integrations.git
cd haystack-core-integrations/integrations/mongodb_atlas
pip install hatch
export MONGO_CONNECTION_STRING = ""
hatch run test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @julian-risch@anakin87@MetroCat69

      Issue actions

        tests requiring additional setup · Issue #1659 · deepset-ai/haystack-core-integrations