Package de.hybris.platform.test
Class ThreadPoolTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.test.ThreadPoolTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ThreadPoolTest extends HybrisJUnit4Test
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableFileAnalyzer()
void
restoreFileAnalyzer()
void
testBlockBehaviour()
See PLA-7607.void
testTransactionCleanUp()
CORE-66PLA-10816 Potential chance to fetch a PoolableThread with pending transaction from previous runvoid
testTransactionCleanUpSimple()
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
disableFileAnalyzer
public void disableFileAnalyzer()
-
restoreFileAnalyzer
public void restoreFileAnalyzer()
-
testTransactionCleanUpSimple
public void testTransactionCleanUpSimple() throws java.lang.InterruptedException, java.util.concurrent.BrokenBarrierException, java.util.concurrent.TimeoutException
- Throws:
java.lang.InterruptedException
java.util.concurrent.BrokenBarrierException
java.util.concurrent.TimeoutException
-
testTransactionCleanUp
public void testTransactionCleanUp() throws java.lang.Exception
CORE-66PLA-10816 Potential chance to fetch a PoolableThread with pending transaction from previous runtogether with setting logger level for a log4j.logger.de.hybris.platform.util.threadpool=DEBUG prints out information who/where started the stale transaction
- Throws:
java.lang.Exception
-
testBlockBehaviour
public void testBlockBehaviour() throws java.lang.Exception
See PLA-7607.- Throws:
java.lang.Exception
-
-