Class AuxiliaryTablesSchedulerRoleTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class AuxiliaryTablesSchedulerRoleTest extends ServicelayerBaseTest
  • Constructor Details

    • AuxiliaryTablesSchedulerRoleTest

      public AuxiliaryTablesSchedulerRoleTest()
  • Method Details

    • setUp

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

      public void tearDown() throws Exception
      Throws:
      Exception
    • tryToPerformSchedulerJob

      public void tryToPerformSchedulerJob()
    • shouldRecreateSchedulerTableAfterDeleteOfSchedulerRow

      public void shouldRecreateSchedulerTableAfterDeleteOfSchedulerRow()
    • shouldHaveSchedulerWatchdog

      public void shouldHaveSchedulerWatchdog()
    • shouldNotCallWatchdogIfSchedulerIntervalIsZero

      public void shouldNotCallWatchdogIfSchedulerIntervalIsZero()
    • shouldNotCallWatchdogIfSchedulerIntervalIsNegative

      public void shouldNotCallWatchdogIfSchedulerIntervalIsNegative()
    • shouldNotCallWatchdogIfWatchdogIsDisabled

      public void shouldNotCallWatchdogIfWatchdogIsDisabled()
    • shouldNotCallWatchdogIfSchedulerIsNotLocked

      public void shouldNotCallWatchdogIfSchedulerIsNotLocked()
    • shouldCallWatchdogIfSchedulerIsLocked

      public void shouldCallWatchdogIfSchedulerIsLocked()
    • shouldCallWatchdogOnlyIfSchedulerIsLockedWhileMultipleAttempts

      public void shouldCallWatchdogOnlyIfSchedulerIsLockedWhileMultipleAttempts()
    • shouldExecuteWatchdogTaskForLongSchedulerOperation

      public void shouldExecuteWatchdogTaskForLongSchedulerOperation() throws InterruptedException
      Throws:
      InterruptedException
    • shouldThrowExceptionWhenWatchdogRejectsTaskExecution

      public void shouldThrowExceptionWhenWatchdogRejectsTaskExecution()
    • shouldThrowExceptionIfNoTenantInParameters

      public void shouldThrowExceptionIfNoTenantInParameters()
    • shouldThrowExceptionIfNoTaskEngineParameters

      public void shouldThrowExceptionIfNoTaskEngineParameters()
    • shouldThrowExceptionIfNoRuntimeConfigHolder

      public void shouldThrowExceptionIfNoRuntimeConfigHolder()
    • shouldStopWatchdogTaskWhenExceptionForSchedulerOperation

      public void shouldStopWatchdogTaskWhenExceptionForSchedulerOperation()