Class MultiSyncCatalogTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.catalog.jalo.synchronization.MultiSyncCatalogTest
- All Implemented Interfaces:
JaloSessionHolder
See file '/resources/testcatalogdataForMultisync.csv' which catalogs exist and how the content is!
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertAllFinished(long endTimeOutInMilis, CatalogVersionSyncCronJob... cronjobs) voidsetUp()voidmultisynctest: create for all catalogs sync jobs and connect them to each other (all 3 belongs together).voidmultisynctest: create for all catalogs sync jobs and connect them to each other (all 3 belongs together).voidvoidTests if job correctly aborts if wrong dependent jobs have been configured.voidtwo catalogs will be synchronized, one catalog has references into the other - result will be additional references to staged/online at same timevoidtest one single sync job, catalog has NO references to other catalogsvoidtest one single sync job, catalog HAS references to other catalogsMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
MultiSyncCatalogTest
public MultiSyncCatalogTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testSimpleSync
test one single sync job, catalog has NO references to other catalogs- Throws:
InterruptedException
-
testSimpleSyncWithExternalReferences
test one single sync job, catalog HAS references to other catalogs- Throws:
InterruptedException
-
testMultiSyncWithoutJobDependenyButWithCrossReferences
two catalogs will be synchronized, one catalog has references into the other - result will be additional references to staged/online at same time- Throws:
InterruptedException
-
testInvalidDependantJobsSetup
Tests if job correctly aborts if wrong dependent jobs have been configured.- Throws:
InterruptedException
-
testBigMultiSyncJobsRunningSameTimeDependenceByCatJob
multisynctest: create for all catalogs sync jobs and connect them to each other (all 3 belongs together). The online categories should only include online products now and viseversa with the staged version- Throws:
InterruptedException
-
testBigMultiSyncJobsRunningSameTimeDependenceByNonSyncJob
- Throws:
InterruptedException
-
testBigMultiSyncJobsRunningJobByJob
multisynctest: create for all catalogs sync jobs and connect them to each other (all 3 belongs together). Same as test above but the jobs are executed step by step- Throws:
InterruptedException
-
assertAllFinished
public void assertAllFinished(long endTimeOutInMilis, CatalogVersionSyncCronJob... cronjobs) throws InterruptedException - Throws:
InterruptedException
-