Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
262 0 0 0 100% 293.267

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.impl 203 0 0 0 100% 247.759
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.108
org.apache.commons.pool2 37 0 0 0 100% 35.4

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

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 5 0 0 0 100% 8.986
TestBaseGenericObjectPool 2 0 0 0 100% 0.002
TestDefaultPooledObject 1 0 0 0 100% 3.586
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.338
TestEvictionConfig 1 0 0 0 100% 0
TestGenericKeyedObjectPool 58 0 0 0 100% 159.134
TestGenericObjectPool 70 0 0 0 100% 74.757
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.316
TestLinkedBlockingDeque 40 0 0 0 100% 0.379
TestPooledSoftReference 2 0 0 0 100% 0
TestPoolImplUtils 2 0 0 0 100% 0.003
TestSoftReferenceObjectPool 17 0 0 0 100% 0.258

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.068
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.007
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.015
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.018

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
TestBasePoolableObjectFactory 1 0 0 0 100% 0
TestPoolUtils 18 0 0 0 100% 35.4

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.279
testAbandonedReturn 3.631
testWhenExhaustedBlock 1.008
testRemoveAbandonedWhileReturning 1.062
testConcurrentInvalidation 0.006

TestBaseGenericObjectPool

testBorrowWaitStatistics 0.001
testActiveTimeStatistics 0.001

TestDefaultPooledObject

testgetIdleTimeMillis 3.586

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0.001
testGetLastBorrowTrace 0.02
testGetPooledObjectType 0.001
testTiming 0.316

TestEvictionConfig

testConstructor 0

TestGenericKeyedObjectPool

testLivenessPerKey 0.008
testNegativeMaxTotalPerKey 0.002
testValidationFailureOnReturnFreesCapacity 0.508
testConcurrentInvalidate 12.531
testClear 0.002
testFIFO 0.001
testLIFO 0.002
testClientWaitStats 0.207
testMaxTotalZero 0.001
testConstructors 0.005
testThreaded1 6.042
testInvalidateWaiting 0.507
testValidationOnCreateOnly 3.006
testSettersAndGetters 0.002
testJmxRegistration 0.002
testMaxTotalInvariant 1.716
testEviction2 7.152
testContructorEvictionConfig 0.608
testConstructorNullFactory 0.003
testBlockedKeyDoesNotBlockPool 1.005
testMaxTotalPerKey 0.002
testMinIdleMaxTotalPerKey 0.924
testMaxActivePerKeyExceeded 106.304
testMaxIdle 0.004
testEvictionOrder 2.038
testMaxTotalPerKeyZero 0.001
testMaxTotalLRU 0.136
testEvictorVisiting 0.066
testExceptionOnDestroyDuringBorrow 0
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.614
testWhenExhaustedBlockClosePool 0.41
testExceptionOnDestroyDuringReturn 0.001
testEviction 8.048
testMaxTotal 0.001
testBorrowObjectFairness 2.511
testNumActiveNumIdle2 0.002
testExceptionOnPassivateDuringReturn 0.002
testMinIdleNoPreparePool 0.311
testMaxWaitMultiThreaded 2.01
testInvalidateFreesCapacity 0.626
testMakeObjectException 0.002
testClearOldest 1.52
testKPOFInvalidateObjectUsages 0.259
testBaseBorrow 0.004
testKPOFBorrowObjectUsages 0.004
testBaseClear 0.002
testToString 0.002
testKPOFAddObjectUsage 0.002
testKPOFReturnObjectUsages 0.003
testBaseNumActiveNumIdle 0.002
testKPOFClearUsages 0.002
testClosedPoolBehavior 0.002
testBaseInvalidateObject 0.002
testKPOFCloseUsages 0.002
testBaseBorrowReturn 0.001
testBaseNumActiveNumIdle2 0.002
testBaseAddObject 0.002

TestGenericObjectPool

testMakeConcurrentWithReturn 0.458
testSwallowedExceptionListener 0.002
testValidationFailureOnReturnFreesCapacity 0.508
testConcurrentInvalidate 12.552
testEvictWhileEmpty 0.002
testConcurrentBorrowAndEvict 0.664
testEvictionSoftMinIdle 3.506
testTimeoutNoLeak 0.013
testFIFO 0.002
testLIFO 0.002
testEvictionInvalid 1.315
testClientWaitStats 0.205
testMaxTotalZero 0.002
testConstructors 0.005
testThreaded1 6.043
testBrokenFactoryShouldNotBlockPool 0.004
testValidationOnCreateOnly 3.007
testSettersAndGetters 0.002
testJmxRegistration 0.003
testMaxTotalInvariant 1.612
testEvictFIFO 0.133
testEvictLIFO 0.133
testConstructorNullFactory 0.002
testMultipleReturnOfSameObject 0.002
testNoInstanceOverlap 1.014
testMaxIdle 0.002
testEvictionOrder 2.067
testEvictionWithNegativeNumTests 0.416
testEvictorVisiting 0.064
testMaxTotalUnderLoad 21.852
testAddObject 0.002
testExceptionOnDestroyDuringBorrow 0.001
testDefaultConfiguration 0.002
testNegativeMaxTotal 0.001
testWhenExhaustedFail 0.002
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.615
testSetConfig 0.002
testWhenExhaustedBlockClosePool 0.41
testExceptionOnDestroyDuringReturn 0.002
testEviction 8.047
testMaxTotal 0.001
testBorrowObjectFairness 2.504
testExceptionOnPassivateDuringReturn 0.003
testEvictAddObjects 0.866
testEvictionPolicy 3.008
testMaxIdleZero 0.004
testMaxWaitMultiThreaded 1.01
testMinIdleMaxTotal 0.928
testInvalidateFreesCapacity 0.629
testStartAndStopEvictor 0.411
testWhenExhaustedBlockInterupt 0.408
testWhenExhaustedBlock 0.015
testBaseBorrow 0.003
testClose 0.003
testBaseClear 0.002
testBaseNumActiveNumIdle 0.002
testUnsupportedOperations 0.001
testBaseInvalidateObject 0.002
testBaseBorrowReturn 0.002
testBaseClosePool 0.001
testBaseAddObject 0.001
testPOFInvalidateObjectUsages 0.258
testPOFAddObjectUsage 0.004
testPOFCloseUsages 0.004
testToString 0.002
testClosedPoolBehavior 0.002
testPOFBorrowObjectUsages 0.002
testPOFReturnObjectUsages 0.002
testPOFClearUsages 0.002

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.316

TestLinkedBlockingDeque

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

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0.001
testFactoryTypeNotSimple 0.002

TestSoftReferenceObjectPool

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

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.06
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.006
testAccessAfterInvalidate 0

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0.003
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0.001

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0.006
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0.001
testUsageTracking 5.005

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0.003
testPassThroughMethods01 0.002
testPassThroughMethods02 0.001
testAccessAfterReturn 0.002
testAccessAfterInvalidate 0.003
testUsageTracking 5.007

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
testPOFReturnObjectUsages 0
testPOFClearUsages 0

TestBasePoolableObjectFactory

testDefaultMethods 0

TestPoolUtils

testErodingObjectPoolDefaultFactor 0.004
testJavaBeanInstantiation 0
testTimerHolder 0.001
testPrefillKeyedObjectPool 0.003
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0.003
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.27
testCheckMinIdleObjectPool 2.063
testSynchronizedPoolObjectPool 0.002
testErodingPoolKeyedObjectPoolDefaultFactor 0.001
testErodingPoolObjectPool 10.266
testErodingPerKeyKeyedObjectPool 10.267
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.055
testSynchronizedPoolableFactoryPoolableObjectFactory 0.001
testSynchronizedPoolKeyedObjectPool 0.002
testCheckRethrow 0
testCheckMinIdleKeyedObjectPool 1.462