11 lines
1.1 KiB
Plaintext
11 lines
1.1 KiB
Plaintext
$ mvn -o -B test -Dtest=HikariLeakDetectionTest
|
|
(trimmed to the test's own RESULT lines and the surefire summary)
|
|
|
|
RESULT[hikari-leak-threshold-floor]: requested leakDetectionThreshold=500ms | actual leakDetectionThreshold after construction=0ms | logged warnings=1 | message=HikariPool-1 - leakDetectionThreshold is less than 2000ms or more than maxLifetime, disabling it. -- HikariCP does not clamp 500ms up to 2000ms, it disables leak detection entirely and logs a WARN naming the reason.
|
|
RESULT[hikari-leak-detection]: leakDetectionThreshold=2000ms | logger=com.zaxxer.hikari.pool.ProxyLeakTask | level=WARN | message=Connection leak detection triggered for conn1: url=jdbc:h2:mem:hikarileak user=SA on thread main, stack trace follows
|
|
|
|
-------------------------------------------------------------------------------
|
|
Test set: com.ankurm.hibernatedemo.hikari.HikariLeakDetectionTest
|
|
-------------------------------------------------------------------------------
|
|
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.334 s -- in com.ankurm.hibernatedemo.hikari.HikariLeakDetectionTest
|