Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R2DBC with Flyway creating multiple Postgres containers #521

Open
zsiegel opened this issue Feb 14, 2024 · 0 comments
Open

R2DBC with Flyway creating multiple Postgres containers #521

zsiegel opened this issue Feb 14, 2024 · 0 comments

Comments

@zsiegel
Copy link

zsiegel commented Feb 14, 2024

Expected Behavior

When using Flyway, R2DBC, and JDBC there should be one postgres container started that is migrated. This appears to be similar to #65

Actual Behaviour

Multiple postgres containers are started. The application and tests still run but there should only be one container.

Steps To Reproduce

Utilizing the following configuration with BOM 4.3.2 on a Gradle + Kotlin project.

test-resources:
  containers:
    postgres:
      image-name: postgres:15-alpine

flyway:
  datasources:
    default:
      dialect: postgres
      enabled: true

datasources:
  default:
    dialect: postgres

r2dbc:
  datasources:
    default:
      dialect: postgres

Environment Information

  • MacOS
  • Micronaut BOM 4.3.2
  • Gradle

Example Application

No response

Version

4.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant