Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
306 0 0 0 100% 363.768

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 39 0 0 0 100% 35.4
org.apache.commons.pool2.proxy 24 0 0 0 100% 20.191
org.apache.commons.pool2.impl 243 0 0 0 100% 308.177

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.001
TestBasePoolableObjectFactory 2 0 0 0 100% 0.001
TestPoolUtils 19 0 0 0 100% 35.379
TestBaseObjectPool 17 0 0 0 100% 0.019

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithJdkProxy 6 0 0 0 100% 5.019
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.021
TestProxiedKeyedObjectPoolWithCglibProxy 6 0 0 0 100% 5.137
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.014

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestLinkedBlockingDeque 40 0 0 0 100% 0.392
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.411
TestGenericKeyedObjectPool 67 0 0 0 100% 166.82
TestEvictionConfig 3 0 0 0 100% 0.002
TestEvictionTimer 1 0 0 0 100% 0.013
TestGenericObjectPool 89 0 0 0 100% 110.217
TestPoolImplUtils 2 0 0 0 100% 0.076
TestBaseGenericObjectPool 3 0 0 0 100% 1.448
TestPooledSoftReference 2 0 0 0 100% 0.002
TestDefaultPooledObject 1 0 0 0 100% 5.284
TestAbandonedKeyedObjectPool 6 0 0 0 100% 11.021
TestSoftReferenceObjectPool 17 0 0 0 100% 0.276
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.318
TestGenericObjectPoolFactoryCreateFailure 1 0 0 0 100% 1.01
TestAbandonedObjectPool 6 0 0 0 100% 10.887

Test Cases

[Summary] [Package List] [Test Cases]

TestLinkedBlockingDeque

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

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBasePoolableObjectFactory

testDestroyModes 0
testDefaultMethods 0

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.41

TestGenericKeyedObjectPool

testKPOFInvalidateObjectUsages 0.258
testBaseBorrow 0.002
testKPOFBorrowObjectUsages 0.001
testBaseClear 0.001
testToString 0.001
testKPOFAddObjectUsage 0.002
testKPOFReturnObjectUsages 0.001
testBaseNumActiveNumIdle 0.001
testKPOFClearUsages 0.001
testClosedPoolBehavior 0.001
testBaseInvalidateObject 0
testKPOFCloseUsages 0.001
testBaseBorrowReturn 0.001
testBaseNumActiveNumIdle2 0.002
testBaseAddObject 0.001
testLivenessPerKey 0.002
testNegativeMaxTotalPerKey 0.001
testValidationFailureOnReturnFreesCapacity 0.503
testConcurrentInvalidate 12.32
testMaxTotalWithThreads 4.403
testClear 0.001
testFIFO 0.001
testLIFO 0.001
testValidateOnCreate 0
testClientWaitStats 0.206
testMaxTotalZero 0.001
testConstructors 0.001
testThreaded1 6.017
testInvalidateWaiting 0.506
testValidationOnCreateOnly 3.002
testSettersAndGetters 0.001
testJmxRegistration 0.001
testMaxTotalInvariant 1.71
testEviction2 7.122
testMultipleReturn 0.001
testContructorEvictionConfig 0.604
testConstructorNullFactory 0.002
testBlockedKeyDoesNotBlockPool 1.002
testMaxTotalPerKey 0.001
testMinIdleMaxTotalPerKey 0.908
testMaxActivePerKeyExceeded 106.493
testValidateOnCreateFailure 0.001
testMaxIdle 0.002
testEvictionOrder 2.017
testMaxTotalPerKeyZero 0.002
testMaxTotalLRU 0.134
testEvictorVisiting 0.023
testExceptionOnDestroyDuringBorrow 0.001
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.613
testWhenExhaustedBlockClosePool 0.411
testEvictorClearOldestRace 2.609
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.001
testEviction 8.027
testMaxTotal 0.003
testReturnObjectThrowsIllegalStateException 0.003
testBorrowObjectFairness 2.444
testNumActiveNumIdle2 0.001
testExceptionOnPassivateDuringReturn 0.001
testMinIdleNoPreparePool 0.303
testEqualsIndiscernible 0.001
testMaxWaitMultiThreaded 2.008
testInvalidateFreesCapacity 0.627
testMakeObjectException 0.002
testReturnToHead 1.054
testClearOldest 1.419

TestEvictionConfig

testConstructorZerosMillis 0
testConstructor1s 0.001
testConstructorZerosDurations 0

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0.008
testPassThroughMethods01 0.001
testPassThroughMethods02 0.002
testAccessAfterReturn 0.002
testAccessAfterInvalidate 0.002
testUsageTracking 5.003

TestEvictionTimer

testStartStopEvictionTimer 0.012

TestGenericObjectPool

testPOFInvalidateObjectUsages 0.257
testPOFAddObjectUsage 0.004
testPOFCloseUsages 0.003
testToString 0.004
testClosedPoolBehavior 0.002
testPOFBorrowObjectUsages 0.002
testPOFReturnObjectUsages 0.001
testPOFClearUsages 0.002
testBaseBorrow 0.002
testClose 0.001
testBaseClear 0.002
testBaseNumActiveNumIdle 0.002
testUnsupportedOperations 0.001
testBaseInvalidateObject 0.001
testBaseBorrowReturn 0.001
testBaseClosePool 0.002
testBaseAddObject 0.001
testNoInvalidateNPE 0.21
testAbandonedPool 0.127
testMakeConcurrentWithReturn 0.453
testSwallowedExceptionListener 0.003
testValidationFailureOnReturnFreesCapacity 0.506
testConcurrentInvalidate 12.354
testEvictWhileEmpty 0.001
testConcurrentBorrowAndEvict 0.628
testEvictionSoftMinIdle 3.508
testTimeoutNoLeak 0.014
testFIFO 0.002
testLIFO 0.001
testEvictionInvalid 1.305
testValidateOnCreate 0.001
testClientWaitStats 0.203
testMaxTotalZero 0.001
testConstructors 0.002
testThreaded1 5.514
testCloseMultiplePools1 0.002
testCloseMultiplePools2 11.007
testMaxIdleZeroUnderLoad 21.244
testBrokenFactoryShouldNotBlockPool 0.002
testValidationOnCreateOnly 3.005
testSettersAndGetters 0.002
testJmxRegistration 0.002
testMaxTotalInvariant 1.608
testEvictFIFO 0.128
testEvictLIFO 0.132
testMultipleReturn 0.005
testConstructorNullFactory 0.003
testGetFactoryType_SynchronizedDefaultPooledObjectFactory 0.002
testFailingFactoryDoesNotBlockThreads 1.605
testMultipleReturnOfSameObject 0.002
testNoInstanceOverlap 1.011
testReturnBorrowObjectWithingMaxWaitMillis 1.108
testValidateOnCreateFailure 0.001
testMaxIdle 0.001
testEvictionOrder 2.024
testEvictionWithNegativeNumTests 0.408
testEvictorVisiting 0.03
testMaxTotalUnderLoad 21.362
testAddObject 0.001
testExceptionOnDestroyDuringBorrow 0.001
testDefaultConfiguration 0.001
testNegativeMaxTotal 0.001
testWhenExhaustedFail 0.001
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.605
testGetFactoryType_NullPooledObjectFactory 0.002
testGetFactoryType_DefaultPooledObjectFactory 0.001
testSetConfig 0.001
testWhenExhaustedBlockClosePool 0.404
testGetFactoryType_SynchronizedNullPooledObjectFactory 0.002
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.001
testEviction 8.016
testMaxTotal 0.002
testErrorFactoryDoesNotBlockThreads 1.614
testBorrowObjectFairness 2.459
testExceptionOnPassivateDuringReturn 0.001
testEvictAddObjects 0.857
testEqualsIndiscernible 0.002
testEvictionPolicy 3.004
testMaxIdleZero 0.002
testMaxWaitMultiThreaded 1.006
testMinIdleMaxTotal 0.911
testInvalidateFreesCapacity 0.627
testGetFactoryType_PoolUtilsSynchronizedNullPooledFactory 0.003
testStartAndStopEvictor 0.406
testGetFactoryType_PoolUtilsSynchronizedDefaultPooledFactory 0.002
testWhenExhaustedBlockInterrupt 0.407
testWhenExhaustedBlock 0.012

TestPoolImplUtils

testFactoryTypeSimple 0.051
testFactoryTypeNotSimple 0.002

TestBaseGenericObjectPool

testBorrowWaitStatistics 0.001
testEvictionTimerMultiplePools 1.446
testActiveTimeStatistics 0.001

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0.011
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0.001
testUsageTracking 5.004

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.124
testPassThroughMethods01 0.003
testPassThroughMethods02 0.001
testAccessAfterReturn 0.002
testAccessAfterInvalidate 0.001
testUsageTracking 5.003

TestDefaultPooledObject

testGetIdleTimeMillis 5.284

TestAbandonedKeyedObjectPool

testAbandonedInvalidate 3.309
testAbandonedReturn 3.615
testStackTrace 2.021
testWhenExhaustedBlock 1.005
testRemoveAbandonedWhileReturning 1.058
testConcurrentInvalidation 0.005

TestPoolUtils

testErodingObjectPoolDefaultFactor 0.005
testJavaBeanInstantiation 0
testCheckMinIdleKeyedObjectPoolKeysNulls 0.003
testTimerHolder 0
testPrefillKeyedObjectPool 0.001
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0.002
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.262
testCheckMinIdleObjectPool 2.057
testSynchronizedPoolObjectPool 0.003
testErodingPoolKeyedObjectPoolDefaultFactor 0.001
testErodingPoolObjectPool 10.266
testErodingPerKeyKeyedObjectPool 10.259
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.054
testSynchronizedPoolableFactoryPoolableObjectFactory 0
testSynchronizedPoolKeyedObjectPool 0.003
testCheckRethrow 0.001
testCheckMinIdleKeyedObjectPool 1.454

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0.004
testPassThroughMethods01 0.002
testPassThroughMethods02 0.001
testAccessAfterReturn 0.002
testAccessAfterInvalidate 0.002
testUsageTracking 5.003

TestBaseObjectPool

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

TestSoftReferenceObjectPool

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

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0.001
testGetLastBorrowTrace 0.001
testGetPooledObjectType 0.001
testTiming 0.312

TestGenericObjectPoolFactoryCreateFailure

testBorrowObjectStuck 1.008

TestAbandonedObjectPool

testAbandonedInvalidate 3.205
testAbandonedReturn 3.616
testStackTrace 2.004
testWhenExhaustedBlock 1.004
testRemoveAbandonedWhileReturning 1.053
testConcurrentInvalidation 0.002