[
https://issues.apache.org/jira/browse/KNOX-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239713#comment-16239713
]
ASF subversion and git services commented on KNOX-1104:
-------------------------------------------------------
Commit 7f58a165f1af9fb7ab45169f5e58b858fdc9c682 in knox's branch
refs/heads/master from [~moresandeep]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=7f58a16 ]
KNOX-1104 - Test to verify behavior of HaProvider service with only a single
URL ( Phil Zampino via Sandeep More)
> 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
> Priority: Trivial
> 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)