Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1104

Test to verify behavior of HaProvider service with only a single URL

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Tests
    • None

    Description

      Write a unit test to verify that a service with an HaProvider configuration, but only a single URL in the corresponding service declaration, doesn't break the provider.

      <provider>
      <role>ha</role>
      <name>HaProvider</name>
      <enabled>true</enabled>
      <param>
      <name>OOZIE</name>
      <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
      </param>
      </provider>
      ...
      <service>
      <role>OOZIE</role>
      <url>http://host:port/oozie</url>
      </service>

      The HaProvider should always use the single URL without error, even though it's not really HA at that point.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pzampino Philip Zampino
            pzampino Philip Zampino
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment