Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
295 0 0 0 100% 338.461

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 38 0 0 0 100% 35.286
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.321
org.apache.commons.pool2.impl 235 0 0 0 100% 292.854

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.008
TestBaseObjectPool 17 0 0 0 100% 0.006
TestBasePoolableObjectFactory 1 0 0 0 100% 0.007
TestPoolUtils 19 0 0 0 100% 35.265

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.325
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.022
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 4.99
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 4.984

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 6 0 0 0 100% 11.499
TestBaseGenericObjectPool 3 0 0 0 100% 1.402
TestDefaultPooledObject 1 0 0 0 100% 0.035
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.084
TestEvictionConfig 1 0 0 0 100% 0.013
TestEvictionTimer 1 0 0 0 100% 0.015
TestGenericKeyedObjectPool 67 0 0 0 100% 165.714
TestGenericObjectPool 89 0 0 0 100% 112.151
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.384
TestGenericObjectPoolFactoryCreateFailure 1 0 0 0 100% 0.987
TestLinkedBlockingDeque 40 0 0 0 100% 0.349
TestPooledSoftReference 2 0 0 0 100% 0.008
TestPoolImplUtils 2 0 0 0 100% 0.006
TestSoftReferenceObjectPool 17 0 0 0 100% 0.207

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.492
testAbandonedReturn 3.603
testStackTrace 2.015
testWhenExhaustedBlock 1.014
testRemoveAbandonedWhileReturning 1.053
testConcurrentInvalidation 0.013

TestBaseGenericObjectPool

testBorrowWaitStatistics 0
testEvictionTimerMultiplePools 1.386
testActiveTimeStatistics 0

TestDefaultPooledObject

testgetIdleTimeMillis 0

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0
testGetLastBorrowTrace 0
testGetPooledObjectType 0
testTiming 0.067

TestEvictionConfig

testConstructor 0.001

TestEvictionTimer

testStartStopEvictionTimer 0

TestGenericKeyedObjectPool

testLivenessPerKey 0
testNegativeMaxTotalPerKey 0
testValidationFailureOnReturnFreesCapacity 0.43
testConcurrentInvalidate 12.314
testMaxTotalWithThreads 4.405
testClear 0.002
testFIFO 0.002
testLIFO 0.002
testValidateOnCreate 0.001
testClientWaitStats 0.205
testMaxTotalZero 0.004
testConstructors 0.01
testThreaded1 5.518
testInvalidateWaiting 0.509
testValidationOnCreateOnly 3.003
testSettersAndGetters 0.005
testJmxRegistration 0.002
testMaxTotalInvariant 1.704
testEviction2 7.111
testMultipleReturn 0.012
testContructorEvictionConfig 0.604
testConstructorNullFactory 0.003
testBlockedKeyDoesNotBlockPool 1.004
testMaxTotalPerKey 0.002
testMinIdleMaxTotalPerKey 0.904
testMaxActivePerKeyExceeded 105.27
testValidateOnCreateFailure 0.001
testMaxIdle 0.007
testEvictionOrder 2.005
testMaxTotalPerKeyZero 0.001
testMaxTotalLRU 0.128
testEvictorVisiting 0.073
testExceptionOnDestroyDuringBorrow 0.006
testExceptionOnActivateDuringBorrow 0.005
testMinIdle 0.604
testWhenExhaustedBlockClosePool 0.403
testEvictorClearOldestRace 2.605
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.002
testEviction 8.009
testMaxTotal 0.002
testReturnObjectThrowsIllegalStateException 0.002
testBorrowObjectFairness 2.924
testNumActiveNumIdle2 0.005
testExceptionOnPassivateDuringReturn 0.003
testMinIdleNoPreparePool 0.305
testEqualsIndiscernible 0.002
testMaxWaitMultiThreaded 2.032
testInvalidateFreesCapacity 0.631
testMakeObjectException 0.014
testReturnToHead 1.131
testClearOldest 1.442
testKPOFInvalidateObjectUsages 0.257
testBaseBorrow 0.008
testKPOFBorrowObjectUsages 0.015
testBaseClear 0.002
testToString 0.004
testKPOFAddObjectUsage 0.002
testKPOFReturnObjectUsages 0.004
testBaseNumActiveNumIdle 0.003
testKPOFClearUsages 0
testClosedPoolBehavior 0.016
testBaseInvalidateObject 0.001
testKPOFCloseUsages 0.005
testBaseBorrowReturn 0
testBaseNumActiveNumIdle2 0.002
testBaseAddObject 0.007

TestGenericObjectPool

testNoInvalidateNPE 0.188
testAbandonedPool 0.206
testMakeConcurrentWithReturn 0.455
testSwallowedExceptionListener 0.005
testValidationFailureOnReturnFreesCapacity 0.506
testConcurrentInvalidate 12.337
testEvictWhileEmpty 0.002
testConcurrentBorrowAndEvict 3.811
testEvictionSoftMinIdle 3.507
testTimeoutNoLeak 0.015
testFIFO 0.005
testLIFO 0.002
testEvictionInvalid 1.311
testValidateOnCreate 0
testClientWaitStats 0.201
testMaxTotalZero 0.003
testConstructors 0.005
testThreaded1 5.509
testCloseMultiplePools1 0.004
testCloseMultiplePools2 11.008
testMaxIdleZeroUnderLoad 20.388
testBrokenFactoryShouldNotBlockPool 0.002
testValidationOnCreateOnly 3.003
testSettersAndGetters 0.003
testJmxRegistration 0.002
testMaxTotalInvariant 1.604
testEvictFIFO 0.127
testEvictLIFO 0.127
testMultipleReturn 0.001
testConstructorNullFactory 0.001
testGetFactoryType_SynchronizedDefaultPooledObjectFactory 0.005
testFailingFactoryDoesNotBlockThreads 1.603
testMultipleReturnOfSameObject 0.001
testNoInstanceOverlap 2.023
testReturnBorrowObjectWithingMaxWaitMillis 1.11
testValidateOnCreateFailure 0
testMaxIdle 0.002
testEvictionOrder 2.008
testEvictionWithNegativeNumTests 0.404
testEvictorVisiting 0.021
testMaxTotalUnderLoad 20.055
testAddObject 0.003
testExceptionOnDestroyDuringBorrow 0.003
testDefaultConfiguration 0.002
testNegativeMaxTotal 0.004
testWhenExhaustedFail 0.003
testExceptionOnActivateDuringBorrow 0.002
testMinIdle 0.602
testGetFactoryType_NullPooledObjectFactory 0.002
testGetFactoryType_DefaultPooledObjectFactory 0.001
testSetConfig 0.002
testWhenExhaustedBlockClosePool 0.403
testGetFactoryType_SynchronizedNullPooledObjectFactory 0.001
testExceptionOnDestroyDuringReturn 0.002
testMutable 0.003
testEviction 8.008
testMaxTotal 0.002
testErrorFactoryDoesNotBlockThreads 1.603
testBorrowObjectFairness 2.419
testExceptionOnPassivateDuringReturn 0.001
testEvictAddObjects 0.856
testEqualsIndiscernible 0.001
testEvictionPolicy 3.006
testMaxIdleZero 0.002
testMaxWaitMultiThreaded 1.008
testMinIdleMaxTotal 0.903
testInvalidateFreesCapacity 0.621
testGetFactoryType_PoolUtilsSynchronizedNullPooledFactory 0.003
testStartAndStopEvictor 0.404
testGetFactoryType_PoolUtilsSynchronizedDefaultPooledFactory 0.001
testWhenExhaustedBlockInterrupt 0.402
testWhenExhaustedBlock 0.012
testBaseBorrow 0.001
testClose 0.004
testBaseClear 0.001
testBaseNumActiveNumIdle 0.001
testUnsupportedOperations 0
testBaseInvalidateObject 0
testBaseBorrowReturn 0.001
testBaseClosePool 0
testBaseAddObject 0.001
testPOFInvalidateObjectUsages 0.251
testPOFAddObjectUsage 0.005
testPOFCloseUsages 0.001
testToString 0.001
testClosedPoolBehavior 0.001
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0.001
testPOFClearUsages 0.001

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.375

TestGenericObjectPoolFactoryCreateFailure

testBorrowObjectStuck 0.951

TestLinkedBlockingDeque

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

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0
testFactoryTypeNotSimple 0

TestSoftReferenceObjectPool

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

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.31
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0.001

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0
testUsageTracking 4.979

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0
testUsageTracking 4.973

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
testJavaBeanInstantiation 0
testCheckMinIdleKeyedObjectPoolKeysNulls 0
testTimerHolder 0
testPrefillKeyedObjectPool 0
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.184
testCheckMinIdleObjectPool 2.055
testSynchronizedPoolObjectPool 0.003
testErodingPoolKeyedObjectPoolDefaultFactor 0.001
testErodingPoolObjectPool 10.254
testErodingPerKeyKeyedObjectPool 10.257
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.051
testSynchronizedPoolableFactoryPoolableObjectFactory 0.001
testSynchronizedPoolKeyedObjectPool 0.003
testCheckRethrow 0
testCheckMinIdleKeyedObjectPool 1.451