Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
https://github.com/apache/fineract/pull/525 for FINERACT-700 struggles to get "./gradlew integrationTest" working under an up-to-date Gradle version, due to the gradle-tomcat-plugin failing to start Tomcat. The problem can also be seen (on that PR, as it stands right now) via ./gradlew tomcatrunwar.
https://github.com/bmuschko/gradle-tomcat-plugin mentions that its author "I don't have much time to contribute anymore. In practice this means far less activity, responsiveness on issues and new releases from my end."
What we IMHO really should do instead is to ditch our use of gradle-tomcat-plugin and just use Spring Boot's very nice built-in support for Integration Test, see here:
- https://docs.spring.io/spring-boot/docs/2.1.5.RELEASE/reference/htmlsingle/#boot-features-testing-spring-applications
- https://www.baeldung.com/spring-boot-testing (see 7. Integration Testing with @SpringBootTest)
- https://reflectoring.io/spring-boot-test/
I wouldn't have time for this, but perhaps someone would like to pick this up?
Attachments
Issue Links
- blocks
-
FINERACT-1168 Integration Tests failure due to internal server errors should show server side failure stack trace
- Resolved
-
FINERACT-724 Upgrade Spring Boot, Spring and Spring Security to their latest stable version
- Resolved
- is a child of
-
FINERACT-1874 Release Apache Fineract 1.9.0
- In Progress
- is blocked by
-
FINERACT-730 Fix failing gradle task bootRun & can't run simple Spring Boot java -jar (without Tomcat)
- Resolved
-
FINERACT-700 Upgrade ancient version of Gradle
- Resolved
- is duplicated by
-
FINERACT-1467 Retrofit current integration tests with Testcontainers and get rid of Cargo plugin
- In Progress
- is related to
-
FINERACT-774 Failed to shut down 1 bean with phase value 2147483647 within timeout of 30000: [messageListenerContainer]
- Closed
-
FINERACT-985 Measure integration test code coverage
- Open
-
FINERACT-796 Use Hikari instead of Tomcat Connection Pool
- Resolved
- links to