gnodet commented on PR #26845:
URL: https://github.com/apache/camel/pull/26845#issuecomment-5854601263

   Fixed in d7114251689a:
   
   - **Not-started pool test**: now uses the no-arg `HikariDataSource()` 
constructor + setters for lazy init. `getHikariPoolMXBean()` is explicitly 
asserted null before calling eviction.
   - **Started pool test**: now compares physical connections 
(`conn.unwrap(Connection.class)`) before and after `softEvictConnections()` 
with `assertNotSame`. Uses `maxPoolSize=1` so the evicted slot must be 
recycled, proving eviction actually happened.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to