AMBARI-19012. Abillity to use external Solr for Log Search instead of AMBARI_INFRA_SOLR - appendum: UT failure fix (oleewere)
Change-Id: I59204873b2fd46e90c0f6336543cc87e65e3d413 Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6150f956 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6150f956 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6150f956 Branch: refs/heads/branch-feature-AMBARI-18901 Commit: 6150f9567f30c0952ffc9402f80b78965eb463b2 Parents: 5e2c267 Author: oleewere <[email protected]> Authored: Fri Dec 9 11:49:41 2016 +0100 Committer: oleewere <[email protected]> Committed: Fri Dec 9 12:04:32 2016 +0100 ---------------------------------------------------------------------- .../src/test/python/stacks/2.3/common/test_stack_advisor.py | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6150f956/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py b/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py index 4a77086..6317376 100644 --- a/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py +++ b/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py @@ -1966,6 +1966,12 @@ class TestHDP23StackAdvisor(TestCase): "ramPerContainer": 256 } expected = { + 'logfeeder-env': {'property_attributes': {'logfeeder_external_solr_kerberos_keytab': {'visible': 'false'}, + 'logfeeder_external_solr_kerberos_principal': {'visible': 'false'}}}, + 'logsearch-env': {'properties': {'logsearch_external_solr_kerberos_enabled': 'false'}, + 'property_attributes': {'logsearch_external_solr_kerberos_enabled': {'visible': 'false'}, + 'logsearch_external_solr_kerberos_keytab': {'visible': 'false'}, + 'logsearch_external_solr_kerberos_principal': {'visible': 'false'}}}, 'logsearch-properties': { 'properties': { "logsearch.collection.service.logs.numshards" : "2",
