Comments (3)
Can you please share a minimal example that reproduces the behaviour that you have described? Unless the failure is specific to Kotlin, that example should be written in Java in order to minimise the number of moving parts.
from spring-boot.
Can you please share a minimal example that reproduces the behaviour that you have described? Unless the failure is specific to Kotlin, that example should be written in Java in order to minimise the number of moving parts.
sure. I will share a minimal example written in Java.
Just reiterating to emphasize that the testcontainers r2dbc test code written in kotlin works well for Spring Boot 2.7.18 but throws flyway connection error for any version of Spring Boot 3.x.x
from spring-boot.
This public git repo contains the minimal java code showing the problem with flyway, r2dbc, testcontainers and Spring Boot versions >= 3.0.0.
https://github.com/sakthi-logn/spring-boot-flyway-r2dbc-testcontainer.git
Please do the following steps to reproduce the problem:
- install docker on your machine because testcontainers needs to connect to the docker daemon.
- clone the repo
- change directory to the root of the repo and run
./gradlew clean build test --info
to see that there are no errors with Spring boot 2.7.18 - In the build.gradle.kts file, uncomment the line number 3 which contains
id("org.springframework.boot") version "3.2.4"
and comment line number 4 which containsid("org.springframework.boot") version "2.7.18"
- rerun step 3 to see the same flyway connection error shown in my earlier comments. The only change done was the upgrade to spring boot 3.2.4
I also tried overriding flyway version to the latest using maven BOM overrides in the kotlin gradle.build.kts file but the same error occurred again. So i am not sure if the problem is with flyway.
Please let me know if you need more information.
from spring-boot.
Related Issues (20)
- Move verification into a reusable workflow
- Move verification into a reusable workflow
- Encapsulate common build steps in a composite action
- Encapsulate common build steps in a composite action
- Encapsulate common build steps in a composite action
- springboot 3.2.2 webflux http inteface upload error HOT 1
- Why is the response Redacted for 401 POST and PUT request, but not GET? HOT 3
- Add @Interceptor annotation to make HandlerInterceptors easier to register HOT 5
- Custom Repository Implementation - Unsatisfied dependency expressed through constructor parameter 0... HOT 2
- Bump gradle/actions from 3.2.1 to 3.3.0
- Bump gradle/actions from 3.2.1 to 3.3.0
- BindValidationFailureAnalyzer uses wrong target
- BindValidationFailureAnalyzer uses wrong target
- Pin the version of the release verification tests
- Verify the CLI's Homebrew formula
- Verify the CLI's Homebrew formula
- Verify the CLI's Homebrew formula
- Spring Boot 3.2.4 Test Failures HOT 1
- Conflicting dependencies in spring-boot-dependencies 3.1.0 HOT 7
- CloudFoundryActuatorAutoConfiguration produces a Warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.