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 20:50:03 UTC
[jira] [Created] (KNOX-1104) Test to verify behavior of HaProvider
service with only a single URL
Phil Zampino created KNOX-1104:
----------------------------------
Summary: 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
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)