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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: Tests
    • Labels:
      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

        1. KNOX-1104.patch
          2 kB
          Philip Zampino

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: