[ 
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)

Reply via email to