mirror of https://github.com/hwchase17/langchain
langchain-mongodb: Standardize mongodb collection/index names in tests (#18755)
## **Description:** MongoDB integration tests link to a provided Atlas Cluster. We have very stringent permissions set against the cluster provided. In order to make it easier to track and isolate the collections each test gets run against, we've updated the collection names to map the test file name. i.e. `langchain_{filename}` => `langchain_test_vectorstores` Fixes integration test results ![image](https://github.com/langchain-ai/langchain/assets/2887713/41f911b9-55f7-4fe4-9134-5514b82009f9) ## **Dependencies:** Provided MONGODB_ATLAS_URI - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ cc: @shaneharvey, @blink1073 , @NoahStapp , @caseyclementspull/18523/merge
parent
ca299a8e08
commit
d60e93b6ae
Loading…
Reference in New Issue