AMBARI-20422. python UT fail (aonishuk)

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1cffdcdc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1cffdcdc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1cffdcdc

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 1cffdcdce072a23303c56fb3c830a04ab386441f
Parents: 0c010b3
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Mon Mar 13 17:31:02 2017 +0200
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Mon Mar 13 17:31:02 2017 +0200

----------------------------------------------------------------------
 .../src/test/python/stacks/2.5/HIVE/test_hive_server_int.py        | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1cffdcdc/ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py 
b/ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py
index d76ffaa..3dc78ab 100644
--- a/ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py
+++ b/ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py
@@ -517,6 +517,8 @@ class TestHiveServerInteractive(RMFTestCase):
     # from there.
     hive_site_conf_for_client = hive_site_conf.copy()
     del hive_site_conf_for_client['javax.jdo.option.ConnectionPassword']
+    if 'hadoop.security.credential.provider.path' in hive_site_conf_for_client:
+      del hive_site_conf_for_client['hadoop.security.credential.provider.path']
 
     for conf_dir in hive_conf_dirs_list:
         # if 'conf_dir' is '/usr/hdp/current/hive-server2-hive2/conf', we 
don't expect 'javax.jdo.option.ConnectionPassword' config

Reply via email to