You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2017/11/03 21:01:00 UTC

[jira] [Updated] (KNOX-1104) Test to verify behavior of HaProvider service with only a single URL

     [ https://issues.apache.org/jira/browse/KNOX-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Zampino updated KNOX-1104:
-------------------------------
    Attachment: KNOX-1104.patch

> Test to verify behavior of HaProvider service with only a single URL
> --------------------------------------------------------------------
>
>                 Key: KNOX-1104
>                 URL: https://issues.apache.org/jira/browse/KNOX-1104
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.14.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>             Fix For: 0.14.0
>
>         Attachments: KNOX-1104.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)