Skip to content

Testcontainers support for MongoDB Atlas is broken #4711

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions