feat(mongodb): Add Atlas Local for MongoDb#873
Merged
alexanderankin merged 4 commits intotestcontainers:mainfrom Apr 29, 2026
Merged
feat(mongodb): Add Atlas Local for MongoDb#873alexanderankin merged 4 commits intotestcontainers:mainfrom
alexanderankin merged 4 commits intotestcontainers:mainfrom
Conversation
e3d97ad to
71edfe1
Compare
|
Any progress on this? |
71edfe1 to
fb27121
Compare
Contributor
Author
I have rebased this change with updates from the main branch, still waiting on a review or guidance from the project if this approach is good. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #873 +/- ##
=======================================
Coverage 83.05% 83.05%
=======================================
Files 16 16
Lines 1700 1700
Branches 186 186
=======================================
Hits 1412 1412
Misses 234 234
Partials 54 54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
the test failure is ephemeral its just a race condition about docker reporting the container exists while it is removing it |
Closed
4 tasks
alexanderankin
added a commit
that referenced
this pull request
Apr 30, 2026
🤖 I have created a release *beep* *boop* --- ## [4.15.0-rc2](testcontainers-v4.15.0-rc.1...testcontainers-v4.15.0-rc2) (2026-04-30) ### Features * **core:** support TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX ([#961](#961)) ([be9a0a6](be9a0a6)) * **mongodb:** Add Atlas Local for MongoDb ([#873](#873)) ([73aeb43](73aeb43)) * support with_copy_to ([#976](#976)) ([59ec1ce](59ec1ce)) * **valkey:** add Valkey module ([#947](#947)) ([fc09dc1](fc09dc1)) ### Bug Fixes * **azurite:** use `HttpWaitStrategy` instead of deprecated `wait_container_is_ready` ([#1003](#1003)) ([9fe6b07](9fe6b07)), closes [#874](#874) * fix pr [#961](#961) ([#1011](#1011)) ([8eff908](8eff908)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: David Ankin <daveankin@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked issue: #865
This adds a Mongo DB Atlas local container.
This works similarly to the Java container: https://java.testcontainers.org/modules/databases/mongodb/#mongodbatlaslocalcontainer
Like the java one, I added this into the same module as the normal Mongo container, but we can make it into its own module if this would be better.
Changes form standard mongo container: