Hi stackoverflow community,
I have a really annoying issue with my jenkins and hikaricp.
To put the issue in perspective: I have a spring boot application which uses the hikariDataSource. It works fine while developing and all test run local without any issues. But if the same project runs in jenkins as a ci job, which does exactly the same thing as I would do on my development machine it get stuck for a while in cleaning up the connection pool:
2015-08-28 15:51:52.090 DEBUG 8234 --- [l HikariPool-0)] com.zaxxer.hikari.pool.HikariPool : Before cleanup pool HikariPool-0 stats (total=10, active=0, idle=10, waiting=0) 2015-08-28 15:51:52.091 DEBUG 8234 --- [l HikariPool-0)] com.zaxxer.hikari.pool.HikariPool : After cleanup pool HikariPool-0 stats (total=10, active=0, idle=10, waiting=0) 2015-08-28 15:52:22.090 DEBUG 8234 --- [l HikariPool-0)] com.zaxxer.hikari.pool.HikariPool : Before cleanup pool HikariPool-0 stats (total=10, active=0, idle=10, waiting=0) 2015-08-28 15:52:22.091 DEBUG 8234 --- [l HikariPool-0)] com.zaxxer.hikari.pool.HikariPool : After cleanup pool HikariPool-0 stats (total=10, active=0, idle=10, waiting=0)
This is what I got for a couple of minutes and then the test continues.
In the test environment I use a h2 in-memory database.
After a couple of hours search on google and github I'm not a bit closer to a solution.
I use Spring Boot 1.2.5, HikariCP 2.4.1, Hibernate 4.3.10.final.
The configuration of the spring boot project is based on jhipster's configuration.
Many many thanks in advanced for you help and further information to solve the issue.