Class MultiSyncCatalogTest

    • Constructor Detail

      • MultiSyncCatalogTest

        public MultiSyncCatalogTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSimpleSync

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

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

        public void testMultiSyncWithoutJobDependenyButWithCrossReferences()
                                                                    throws java.lang.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:
        java.lang.InterruptedException
      • testInvalidDependantJobsSetup

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

        public void testBigMultiSyncJobsRunningSameTimeDependenceByCatJob()
                                                                   throws java.lang.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:
        java.lang.InterruptedException
      • testBigMultiSyncJobsRunningSameTimeDependenceByNonSyncJob

        public void testBigMultiSyncJobsRunningSameTimeDependenceByNonSyncJob()
                                                                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testBigMultiSyncJobsRunningJobByJob

        public void testBigMultiSyncJobsRunningJobByJob()
                                                 throws java.lang.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:
        java.lang.InterruptedException
      • assertAllFinished

        public void assertAllFinished​(long endTimeOutInMilis,
                                      CatalogVersionSyncCronJob... cronjobs)
                               throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException