[ 
https://issues.apache.org/jira/browse/POOL-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426141#comment-13426141
 ] 

Liviu Tudor commented on POOL-228:
----------------------------------

Mark, I just realised there might be a bit of confusion here -- I'm talking 
about pool-1.6 here -- haven't checked yet the pool2 (trunk) branch.
on this branch, {{setMinIdle}} calls {{allocate()}} which bails out if 
{{_pool}} is empty so doesn't do in fact anything. There is no call to 
{{evict()}} (in fact that is only called from the eviction timer task).
Did you check this on the 1.6 branch too or were you referring to pool2?
                
> Unit test failure in TestGenericObjectPoolClassLoaders
> ------------------------------------------------------
>
>                 Key: POOL-228
>                 URL: https://issues.apache.org/jira/browse/POOL-228
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Liviu Tudor
>            Priority: Minor
>              Labels: junit
>             Fix For: 1.6.1
>
>
> Following error encountered when running unit tests:
> {noformat}
> Results :
> Failed tests:   
> testContextClassLoader(org.apache.commons.pool.impl.TestGenericObjectPoolClassLoaders):
>  Wrong number of idle objects in pool1 expected:<1> but was:<0>
> Tests run: 263, Failures: 1, Errors: 0, Skipped: 0
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to