Skip to content

Test Container from DB URL r2dbc:tc: not working #13

@pontus-eliason

Description

@pontus-eliason

When using test containers and the path to the database is specified using the spring.r2dbc.url property using the format of r2dbc:tc:postgresql:///database a database container will be automatically created.

The problem is that this project does not recognize this format and does not properly replace the parts of the database url from r2dbc to jdbc, or figure out the actual host and address of the container running the database.

See TestContainer documentation for how this works using Spring Boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions