Package de.hybris.platform.cronjob.jalo
Class AbortingCronJobWithoutProperClosingIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.cronjob.jalo.AbortingCronJobWithoutProperClosingIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AbortingCronJobWithoutProperClosingIntegrationTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description AbortingCronJobWithoutProperClosingIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldAddCronJobToBeCheckedIfDBOutageOccursDuringExecution()voidshouldAppendLogsDuringStrandedCronJobRecovery()voidshouldFinishBasicCronJobWithGivenLogic()voidshouldNotAddCronJobToBeCheckedIfDBOutageOccursDuringExecutionButNoCallToDB()voidshouldNotAddCronJobToBeCheckedIfScriptThrowsException()voidshouldNotAddCronJobToBeCheckedIfScriptThrowsStackOverflowException()voidtearDown()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldFinishBasicCronJobWithGivenLogic
public void shouldFinishBasicCronJobWithGivenLogic() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedException
-
shouldAddCronJobToBeCheckedIfDBOutageOccursDuringExecution
public void shouldAddCronJobToBeCheckedIfDBOutageOccursDuringExecution() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
shouldNotAddCronJobToBeCheckedIfDBOutageOccursDuringExecutionButNoCallToDB
public void shouldNotAddCronJobToBeCheckedIfDBOutageOccursDuringExecutionButNoCallToDB() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
shouldNotAddCronJobToBeCheckedIfScriptThrowsException
public void shouldNotAddCronJobToBeCheckedIfScriptThrowsException() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedException
-
shouldAppendLogsDuringStrandedCronJobRecovery
public void shouldAppendLogsDuringStrandedCronJobRecovery() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
shouldNotAddCronJobToBeCheckedIfScriptThrowsStackOverflowException
public void shouldNotAddCronJobToBeCheckedIfScriptThrowsStackOverflowException() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedException
-
-