Skip to content

Testcontainers support for MongoDB Atlas is still broken #4831

@ThomasVitale

Description

@ThomasVitale

Bug description

Support for the MongoDbAtlasLocalContainer as a development/test container relying on Spring Boot's ConnectionDetails seems to be broken. The culprit seems to be the SSL support in MongoConnectionDetails.

The result is the application fails starting up.

Environment

Spring AI: 1.1.0-SNAPSHOT
Spring Boot: 3.5.7

Expected behavior

I expect the application succeeds starting up when using Spring AI Testcontainers.

Minimal Complete Reproducible example

Check the demo reproducing the error and providing more details about what's happening.

Context

I have opened a similar issue before, which was closed as fixed, but the bug is still there. I couldn't re-open it, so I created a new one (#4711). @quaff it seems ike you got a fix for this issue in #4175 but it was never merged. Is that change still valid, what do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions