commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [pool] GKOP test failures
Date Fri, 13 May 2011 10:20:34 GMT
On 13/05/2011 07:25, markt@apache.org wrote:
> Phil Steitz <phil.steitz@gmail.com> wrote:
> 
>> I saw this
>> Failed tests:
>>
>> testMaxTotalInvariant(org.apache.commons.pool2.impl.TestGenericKeyedObjectPool):
>> Thread failed: 2
>> java.lang.IllegalStateException: Returned object not currently part
>> of this pool
>>    at
>> org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(GenericKeyedObjectPool.java:1158)
>>    at
>> org.apache.commons.pool2.impl.TestGenericKeyedObjectPool$TestThread.run(TestGenericKeyedObjectPool.java:1582)
>>    at java.lang.Thread.run(Thread.java:680)
>>
>> I also get these regularly when running load tests using [performance].
>>
>> I added some instrumentation to GKOP to dump out
>> objectDeque.getAllObjects().size() and it is always 0 for the key
>> when this happens. 
>>
>> Phil

I now have commons-performance running and can reproduce this. Hopefully
a fix will be forthcoming shortly. I've looked once and can't see
anything so as before, any help with this would be appreciated.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message