@IntegrationTest public class MultiThreadedImpExImportReaderIntegrationTest extends ServicelayerBaseTest
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiThreadedImpExImportReaderIntegrationTest.ExceptionTestImpExImportJob |
static class |
MultiThreadedImpExImportReaderIntegrationTest.TestImpExImportJob |
jaloSession| Constructor and Description |
|---|
MultiThreadedImpExImportReaderIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldFailCronJobWhenThereIsLessThreadsThanRequired() |
void |
shouldFailWhenThereIsNotEnoughThreadsInThePool() |
void |
shouldNotFailCronJobWhenThereAreAtLeastThreeThreads() |
void |
shouldNotHangUpCronjobProcessWhenRuntimeExceptionIsThrownDuringPostProcess() |
void |
shouldNotUseAnyThreadAfterConstruction() |
void |
shouldStartImportWithThreeThreadsForMultithreadedImport() |
void |
shouldSuccessfullyImportWithIllegalStateExceptionThrownFromImpExImportReader() |
void |
shouldUseAvailableThreadsThreadsForMultithreadedImport() |
void |
shouldUseThreeThreadsForMultithreadedImportWithMaxThreadsSetToOne() |
void |
tearDown() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic MultiThreadedImpExImportReaderIntegrationTest()
public void setUp()
public void tearDown()
public void shouldNotUseAnyThreadAfterConstruction()
throws ImpExException
ImpExExceptionpublic void shouldFailWhenThereIsNotEnoughThreadsInThePool()
throws ImpExException
ImpExExceptionpublic void shouldUseThreeThreadsForMultithreadedImportWithMaxThreadsSetToOne()
throws ImpExException
ImpExExceptionpublic void shouldStartImportWithThreeThreadsForMultithreadedImport()
throws ImpExException
ImpExExceptionpublic void shouldUseAvailableThreadsThreadsForMultithreadedImport()
throws ImpExException
ImpExExceptionpublic void shouldFailCronJobWhenThereIsLessThreadsThanRequired()
throws java.io.IOException,
JaloGenericCreationException,
JaloAbstractTypeException
java.io.IOExceptionJaloGenericCreationExceptionJaloAbstractTypeExceptionpublic void shouldNotFailCronJobWhenThereAreAtLeastThreeThreads()
throws java.io.IOException,
JaloGenericCreationException,
JaloAbstractTypeException
java.io.IOExceptionJaloGenericCreationExceptionJaloAbstractTypeExceptionpublic void shouldSuccessfullyImportWithIllegalStateExceptionThrownFromImpExImportReader()
public void shouldNotHangUpCronjobProcessWhenRuntimeExceptionIsThrownDuringPostProcess()
Copyright © 2018 SAP SE. All Rights Reserved.