Class MultiThreadedImpExImportReaderIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.impex.jalo.imp.MultiThreadedImpExImportReaderIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class MultiThreadedImpExImportReaderIntegrationTest
extends ServicelayerBaseTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
MultiThreadedImpExImportReaderIntegrationTest
public MultiThreadedImpExImportReaderIntegrationTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
shouldNotUseAnyThreadAfterConstruction
- Throws:
ImpExException
-
shouldFailWhenThereIsNotEnoughThreadsInThePool
- Throws:
ImpExException
-
shouldUseThreeThreadsForMultithreadedImportWithMaxThreadsSetToOne
public void shouldUseThreeThreadsForMultithreadedImportWithMaxThreadsSetToOne() throws ImpExException- Throws:
ImpExException
-
shouldStartImportWithThreeThreadsForMultithreadedImport
- Throws:
ImpExException
-
shouldUseAvailableThreadsThreadsForMultithreadedImport
- Throws:
ImpExException
-
shouldFailCronJobWhenThereIsLessThreadsThanRequired
public void shouldFailCronJobWhenThereIsLessThreadsThanRequired() throws IOException, JaloGenericCreationException, JaloAbstractTypeException -
shouldNotFailCronJobWhenThereAreAtLeastThreeThreads
public void shouldNotFailCronJobWhenThereAreAtLeastThreeThreads() throws IOException, JaloGenericCreationException, JaloAbstractTypeException -
shouldSuccessfullyImportWithIllegalStateExceptionThrownFromImpExImportReader
public void shouldSuccessfullyImportWithIllegalStateExceptionThrownFromImpExImportReader() -
shouldNotHangUpCronjobProcessWhenRuntimeExceptionIsThrownDuringPostProcess
public void shouldNotHangUpCronjobProcessWhenRuntimeExceptionIsThrownDuringPostProcess() -
testMultiThreadedReaderMergesTheCollectionOfFallbackLanguagesProperly
public void testMultiThreadedReaderMergesTheCollectionOfFallbackLanguagesProperly() throws ConsistencyCheckException, ImpExException -
testMultiThreadedReaderMergesTheCollectionOfFallbackLanguagesProperlyWithColumnLevelMerge
public void testMultiThreadedReaderMergesTheCollectionOfFallbackLanguagesProperlyWithColumnLevelMerge() throws ConsistencyCheckException, ImpExException -
testImpExMergeWorksProperlyWhenSubmittedInCronJob
- Throws:
ConsistencyCheckException
-
testImpExMergeWorksWithProperlyWithColumnLevelMergeWhenSubmittedInCronJob
public void testImpExMergeWorksWithProperlyWithColumnLevelMergeWhenSubmittedInCronJob() throws ConsistencyCheckException- Throws:
ConsistencyCheckException
-