Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
270 0 0 0 100% 297.921

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.pool2 37 0 0 0 100% 35.393
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.09
org.apache.commons.pool2.impl 211 0 0 0 100% 252.438

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.pool2

Class Tests Errors Failures Skipped Success Rate Time
TestBaseKeyedPoolableObjectFactory 1 0 0 0 100% 0
TestBaseObjectPool 17 0 0 0 100% 0.001
TestBasePoolableObjectFactory 1 0 0 0 100% 0
TestPoolUtils 18 0 0 0 100% 35.392

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.062
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.004
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.014
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.01

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 6 0 0 0 100% 11.501
TestBaseGenericObjectPool 2 0 0 0 100% 0.003
TestDefaultPooledObject 1 0 0 0 100% 3.36
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.331
TestEvictionConfig 1 0 0 0 100% 0
TestGenericKeyedObjectPool 62 0 0 0 100% 161.761
TestGenericObjectPool 73 0 0 0 100% 74.437
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.413
TestLinkedBlockingDeque 40 0 0 0 100% 0.373
TestPooledSoftReference 2 0 0 0 100% 0
TestPoolImplUtils 2 0 0 0 100% 0.002
TestSoftReferenceObjectPool 17 0 0 0 100% 0.257

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.278
testAbandonedReturn 3.635
testStackTrace 2.02
testWhenExhaustedBlock 1.504
testRemoveAbandonedWhileReturning 1.059
testConcurrentInvalidation 0.005

TestBaseGenericObjectPool

testBorrowWaitStatistics 0.002
testActiveTimeStatistics 0.001

TestDefaultPooledObject

testgetIdleTimeMillis 3.36

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0.002
testGetLastBorrowTrace 0.002
testGetPooledObjectType 0.001
testTiming 0.326

TestEvictionConfig

testConstructor 0

TestGenericKeyedObjectPool

testLivenessPerKey 0.009
testNegativeMaxTotalPerKey 0.002
testValidationFailureOnReturnFreesCapacity 0.504
testConcurrentInvalidate 12.573
testClear 0.001
testFIFO 0.001
testLIFO 0.001
testClientWaitStats 0.206
testMaxTotalZero 0.001
testConstructors 0.003
testThreaded1 6.04
testInvalidateWaiting 0.505
testValidationOnCreateOnly 3.004
testSettersAndGetters 0.001
testJmxRegistration 0.001
testMaxTotalInvariant 1.72
testEviction2 7.15
testMultipleReturn 0.004
testContructorEvictionConfig 0.606
testConstructorNullFactory 0.001
testBlockedKeyDoesNotBlockPool 1.003
testMaxTotalPerKey 0.001
testMinIdleMaxTotalPerKey 0.923
testMaxActivePerKeyExceeded 107.872
testMaxIdle 0.003
testEvictionOrder 2.034
testMaxTotalPerKeyZero 0.001
testMaxTotalLRU 0.139
testEvictorVisiting 0.039
testExceptionOnDestroyDuringBorrow 0.001
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.612
testWhenExhaustedBlockClosePool 0.407
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.002
testEviction 8.046
testMaxTotal 0
testBorrowObjectFairness 2.502
testNumActiveNumIdle2 0.002
testExceptionOnPassivateDuringReturn 0.002
testMinIdleNoPreparePool 0.308
testEqualsIndiscernible 0.002
testMaxWaitMultiThreaded 2.007
testInvalidateFreesCapacity 0.626
testMakeObjectException 0.002
testReturnToHead 1.116
testClearOldest 1.5
testKPOFInvalidateObjectUsages 0.257
testBaseBorrow 0.003
testKPOFBorrowObjectUsages 0.003
testBaseClear 0.001
testToString 0.001
testKPOFAddObjectUsage 0.001
testKPOFReturnObjectUsages 0.001
testBaseNumActiveNumIdle 0.001
testKPOFClearUsages 0.002
testClosedPoolBehavior 0.001
testBaseInvalidateObject 0.001
testKPOFCloseUsages 0.001
testBaseBorrowReturn 0.001
testBaseNumActiveNumIdle2 0.001
testBaseAddObject 0.001

TestGenericObjectPool

testMakeConcurrentWithReturn 0.458
testSwallowedExceptionListener 0.001
testValidationFailureOnReturnFreesCapacity 0.503
testConcurrentInvalidate 12.509
testEvictWhileEmpty 0.001
testConcurrentBorrowAndEvict 0.501
testEvictionSoftMinIdle 3.508
testTimeoutNoLeak 0.014
testFIFO 0.001
testLIFO 0.001
testEvictionInvalid 1.309
testClientWaitStats 0.205
testMaxTotalZero 0.001
testConstructors 0.003
testThreaded1 6.053
testBrokenFactoryShouldNotBlockPool 0.002
testValidationOnCreateOnly 3.003
testSettersAndGetters 0.002
testJmxRegistration 0.001
testMaxTotalInvariant 1.607
testEvictFIFO 0.132
testEvictLIFO 0.129
testMultipleReturn 0.001
testConstructorNullFactory 0.001
testMultipleReturnOfSameObject 0
testNoInstanceOverlap 1.017
testMaxIdle 0.002
testEvictionOrder 2.077
testEvictionWithNegativeNumTests 0.409
testEvictorVisiting 0.025
testMaxTotalUnderLoad 21.846
testAddObject 0.002
testExceptionOnDestroyDuringBorrow 0.001
testDefaultConfiguration 0.001
testNegativeMaxTotal 0.001
testWhenExhaustedFail 0.001
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.614
testSetConfig 0.002
testWhenExhaustedBlockClosePool 0.407
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.001
testEviction 8.044
testMaxTotal 0.001
testBorrowObjectFairness 2.495
testExceptionOnPassivateDuringReturn 0.001
testEvictAddObjects 0.867
testEqualsIndiscernible 0.001
testEvictionPolicy 3.009
testMaxIdleZero 0.001
testMaxWaitMultiThreaded 1.009
testMinIdleMaxTotal 0.922
testInvalidateFreesCapacity 0.63
testStartAndStopEvictor 0.408
testWhenExhaustedBlockInterupt 0.409
testWhenExhaustedBlock 0.013
testBaseBorrow 0.001
testClose 0.002
testBaseClear 0.001
testBaseNumActiveNumIdle 0.001
testUnsupportedOperations 0
testBaseInvalidateObject 0.001
testBaseBorrowReturn 0.001
testBaseClosePool 0.001
testBaseAddObject 0.001
testPOFInvalidateObjectUsages 0.256
testPOFAddObjectUsage 0.002
testPOFCloseUsages 0.002
testToString 0
testClosedPoolBehavior 0.001
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0.001
testPOFClearUsages 0.001

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.413

TestLinkedBlockingDeque

testElement 0
testPossibleBug 0.001
testPutFirst 0
testPeekFirst 0
testOfferLast 0.001
testGetFirst 0
testToArray 0
testAddLast 0
testAdd 0
testPop 0
testPut 0.001
testClear 0
testOffer 0
testPeek 0
testPush 0
testTake 0.001
testOfferLastWithTimeout 0.055
testRemoveFirst 0
testConstructors 0
testPutLast 0
testOfferFirst 0.001
testDescendingIterator 0
testAddFirst 0
testGetLast 0
testRemoveLastOccurence 0
testTakeLast 0
testContains 0.001
testRemoveLast 0
testPollFirst 0
testPollFirstWithTimeout 0.053
testOfferWithTimeout 0.053
testPollLastWithTimeout 0.05
testPeekLast 0
testOfferFirstWithTimeout 0.051
testPollLast 0
testPollWithTimeout 0.105
testDrainTo 0
testRemove 0
testIterator 0
testTakeFirst 0

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0
testFactoryTypeNotSimple 0.002

TestSoftReferenceObjectPool

testBaseBorrow 0.002
testClose 0
testBaseClear 0
testBaseNumActiveNumIdle 0
testUnsupportedOperations 0
testBaseInvalidateObject 0
testBaseBorrowReturn 0
testBaseClosePool 0
testBaseAddObject 0
testPOFInvalidateObjectUsages 0.252
testPOFAddObjectUsage 0.001
testPOFCloseUsages 0
testToString 0
testClosedPoolBehavior 0
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0
testPOFClearUsages 0.001

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.06
testPassThroughMethods01 0
testPassThroughMethods02 0.001
testAccessAfterReturn 0
testAccessAfterInvalidate 0.001

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0.002
testPassThroughMethods01 0.001
testPassThroughMethods02 0
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0.005
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0
testAccessAfterInvalidate 0.001
testUsageTracking 5.006

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0.002
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0
testUsageTracking 5.005

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBaseObjectPool

testBaseBorrow 0
testClose 0
testBaseClear 0
testBaseNumActiveNumIdle 0
testUnsupportedOperations 0
testBaseInvalidateObject 0
testBaseBorrowReturn 0
testBaseClosePool 0
testBaseAddObject 0
testPOFInvalidateObjectUsages 0
testPOFAddObjectUsage 0
testPOFCloseUsages 0
testToString 0
testClosedPoolBehavior 0
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0
testPOFClearUsages 0

TestBasePoolableObjectFactory

testDefaultMethods 0

TestPoolUtils

testErodingObjectPoolDefaultFactor 0.003
testJavaBeanInstantiation 0
testTimerHolder 0.001
testPrefillKeyedObjectPool 0.002
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0.002
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.268
testCheckMinIdleObjectPool 2.058
testSynchronizedPoolObjectPool 0.002
testErodingPoolKeyedObjectPoolDefaultFactor 0.001
testErodingPoolObjectPool 10.269
testErodingPerKeyKeyedObjectPool 10.27
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.051
testSynchronizedPoolableFactoryPoolableObjectFactory 0.001
testSynchronizedPoolKeyedObjectPool 0.002
testCheckRethrow 0
testCheckMinIdleKeyedObjectPool 1.462