Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3111 [Umbrella] Fix flaky tests in Oozie
  3. OOZIE-3498

TestOozieCLI testRetryWithRetryCount and testRetryForTimeout is flaky

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 5.2.0
    • tests
    • None

    Description

      org.apache.oozie.client.TestOozieCLI.testRetryWithRetryCount and org.apache.oozie.client.TestOozieCLI.testRetryForTimeout unit tests failed with an assertion error. 

      The two test methods assume that the error message contains the following string:

      Error while connecting Oozie server. No of retries = 2. Exception = Connection refused

      and

      Error while connecting Oozie server. No of retries = 4. Exception = Connection refused

      respectively.

      During the test run the error message was:

      IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 2. Exception = Error while authenticating with endpoint: http://localhost:11/oozie/versions

       
      These tests test the retry function, so I don't think that the exact error message is important.

      Attachments

        1. OOZIE-3498-01.patch
          1 kB
          Andras Salamon

        Activity

          People

            asalamon74 Andras Salamon
            asalamon74 Andras Salamon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: