Github user patricker commented on the issue:
https://github.com/apache/nifi/pull/3133
@colindean I don't have a good answer yet, hoping I can get some input from
other developers.
But I was thinking about unit tests, and what you could do to help make
this code change unit testable.
What if you exposed the number of active and idle connections in the
connection pool as properties on the DBCPConnectinoPool? These are available by
calling `getNumActive()` and `getNumIdle()`. Or you could call
`listAllObjects()` and get back the full pool on the `dataSource` object.
With these numbers it would be possible to test at least the min/max
connection settings, and maybe more.
---