Class MultiSyncCatalogTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.catalog.jalo.synchronization.MultiSyncCatalogTest
All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class MultiSyncCatalogTest extends HybrisJUnit4Test
See file '/resources/testcatalogdataForMultisync.csv' which catalogs exist and how the content is!
  • Constructor Details

    • MultiSyncCatalogTest

      public MultiSyncCatalogTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testSimpleSync

      public void testSimpleSync() throws InterruptedException
      test one single sync job, catalog has NO references to other catalogs
      Throws:
      InterruptedException
    • testSimpleSyncWithExternalReferences

      public void testSimpleSyncWithExternalReferences() throws InterruptedException
      test one single sync job, catalog HAS references to other catalogs
      Throws:
      InterruptedException
    • testMultiSyncWithoutJobDependenyButWithCrossReferences

      public void testMultiSyncWithoutJobDependenyButWithCrossReferences() throws InterruptedException
      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

      public void testInvalidDependantJobsSetup() throws InterruptedException
      Tests if job correctly aborts if wrong dependent jobs have been configured.
      Throws:
      InterruptedException
    • testBigMultiSyncJobsRunningSameTimeDependenceByCatJob

      public void testBigMultiSyncJobsRunningSameTimeDependenceByCatJob() throws InterruptedException
      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

      public void testBigMultiSyncJobsRunningSameTimeDependenceByNonSyncJob() throws InterruptedException
      Throws:
      InterruptedException
    • testBigMultiSyncJobsRunningJobByJob

      public void testBigMultiSyncJobsRunningJobByJob() throws InterruptedException
      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