-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Flyway migrations of defined locations are not applied anymore #10041
Comments
Hm... I was not able to reproduce this... Our integration test (
Do you perhaps have a project you can share which displayes the behavior you mention? |
How do you apply the test profile when starting the application?
|
@henrikengelbrink were you able to come up with a reproducer for this? We haven't had anyone report any similar issue |
Sorry for the late answer! I've created a simple project with the same settings/dependencies. If you run |
Thanks @henrikengelbrink. #10718 fixes the issue |
Thank you @geoand |
Properly determine classpath locations in Flyway
So if i want to have multiple enviroment i have to package multiple times specifying the quarkus profile for each one? |
Describe the bug
I want to use different database migrations with flyway for testing.
I defined two different locations for the flyway migrations in the
application.properties
:%test.quarkus.flyway.locations=classpath:/db/migration/,classpath:/db/testing/
Expected behavior
I expect that all migrations in the folders
migration
andtesting
are appliedActual behavior
Only the migrations in the
migration
folder are applied, anything intesting
is ignored.To Reproduce
Steps to reproduce the behavior:
quarkus-flyway
version newer than 1.4.2quarkus.flyway.locations
)Configuration
Environment (please complete the following information):
uname -a
orver
:Darwin Henriks-MBP-3.fritz.box 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
java -version
:openjdk version "13.0.1" 2019-10-15
OpenJDK Runtime Environment (build 13.0.1+9)
OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
mvnw --version
orgradlew --version
):Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 13.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/13.0.2+8_2/libexec/openjdk.jdk/Contents/Home
Default locale: en_DE, platform encoding: US-ASCII
OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
Additional context
This is working in version
1.4.2.Final
ofquarkus-flyway
but not with the newer ones.The text was updated successfully, but these errors were encountered: