Class AbortingCronJobWithoutProperClosingIntegrationTest

    • Constructor Detail

      • AbortingCronJobWithoutProperClosingIntegrationTest

        public AbortingCronJobWithoutProperClosingIntegrationTest()
    • Method Detail

      • setUp

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

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFinishBasicCronJobWithGivenLogic

        public void shouldFinishBasicCronJobWithGivenLogic()
                                                    throws java.util.concurrent.TimeoutException,
                                                           java.lang.InterruptedException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException
      • shouldAddCronJobToBeCheckedIfDBOutageOccursDuringExecution

        public void shouldAddCronJobToBeCheckedIfDBOutageOccursDuringExecution()
                                                                        throws java.util.concurrent.TimeoutException,
                                                                               java.lang.InterruptedException,
                                                                               java.util.concurrent.ExecutionException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • shouldNotAddCronJobToBeCheckedIfDBOutageOccursDuringExecutionButNoCallToDB

        public void shouldNotAddCronJobToBeCheckedIfDBOutageOccursDuringExecutionButNoCallToDB()
                                                                                        throws java.util.concurrent.TimeoutException,
                                                                                               java.lang.InterruptedException,
                                                                                               java.util.concurrent.ExecutionException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • shouldNotAddCronJobToBeCheckedIfScriptThrowsException

        public void shouldNotAddCronJobToBeCheckedIfScriptThrowsException()
                                                                   throws java.util.concurrent.TimeoutException,
                                                                          java.lang.InterruptedException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException
      • shouldAppendLogsDuringStrandedCronJobRecovery

        public void shouldAppendLogsDuringStrandedCronJobRecovery()
                                                           throws java.util.concurrent.TimeoutException,
                                                                  java.lang.InterruptedException,
                                                                  java.util.concurrent.ExecutionException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • shouldNotAddCronJobToBeCheckedIfScriptThrowsStackOverflowException

        public void shouldNotAddCronJobToBeCheckedIfScriptThrowsStackOverflowException()
                                                                                throws java.util.concurrent.TimeoutException,
                                                                                       java.lang.InterruptedException
        Throws:
        java.util.concurrent.TimeoutException
        java.lang.InterruptedException