-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support Flyway 5.x and Spring Boot 2.x #10
Comments
Hi, what version of embedded database do you use? Because since version 1.3.0, Spring Boot 2 and Flyway 5 should be supported. Here is a demo project that uses them and works well. |
I was on I'm not sure if this is expected or not, but I have to list the following two dependencies or my tests won't run on Flyway 4.x:
Omitting
Putting it back, Flyway 4.x works. However, I still cannot run tests with Flyway 5.x. I receive this when running the tests:
|
It's possible I am having some dependency issues with my Spring Boot 2 upgrade. I shall report back ;) |
The previous
It is described in the documentation: https://github.com/zonkyio/embedded-database-spring-test#disabling-auto-configuration So there is no need to use the |
The |
Oops. Forgot to report back. My issues were indeed caused by transitive dependency messiness in my upgrade to Spring Boot 2. All is working, and in the manner documented in the project README. Please close this ticket as "Won't Fix: Reporter is an Idiot" 😛 Thanks again for making this tool available and supporting it! |
Thanks for the feedback. I'm glad everything is working fine. 🙂 |
We are currently upgrading to Spring Boot 2, which uses Flyway 5. It would be great if this tool could support Flyway 5 as well. My workaround of course is to stay on Flyway 4.2.0 but it would be nice to upgrade.
The text was updated successfully, but these errors were encountered: