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.