ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject ambari git commit: AMBARI-15252. Server python unit-test failing on branch-2.2(Lav Jain via odiachenko).
Date Tue, 01 Mar 2016 19:26:38 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 bc2004e50 -> beac3462d


AMBARI-15252. Server python unit-test failing on branch-2.2(Lav Jain via odiachenko).


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

Branch: refs/heads/branch-2.2
Commit: beac3462dba54000a4a93a7cc5d9aa78e5f9706a
Parents: bc2004e
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Tue Mar 1 11:26:35 2016 -0800
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Tue Mar 1 11:26:35 2016 -0800

----------------------------------------------------------------------
 .../src/test/python/stacks/2.3/common/test_stack_advisor.py  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/beac3462/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 316d172..9638054 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
@@ -584,23 +584,23 @@ class TestHDP23StackAdvisor(TestCase):
     self.assertEquals(configurations['hdfs-site']['properties']['dfs.namenode.inode.attributes.provider.class'],
'org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer', "Test with Ranger HDFS plugin
is enabled")
 
     # Test 1 for dfs.allow.truncate with no HAWQ and dfs.allow.truncate not set
-    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
hosts)
+    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
None)
     self.assertTrue('dfs.allow.truncate' not in configurations['hdfs-site']['properties'])
 
     # Test 2 for dfs.allow.truncate with HAWQ and dfs.allow.truncate not set
     services["services"].append({"StackServices" : {"service_name" : "HAWQ"}, "components":[]})
-    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
hosts)
+    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
None)
     self.assertEquals(configurations['hdfs-site']['properties']['dfs.allow.truncate'], 'true')
 
     # Test 3 for dfs.allow.truncate with no HAWQ and dfs.allow.truncate set to false
     services["services"].remove({"StackServices" : {"service_name" : "HAWQ"}, "components":[]})
     configurations['hdfs-site']['properties']['dfs.allow.truncate'] = 'false'
-    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
hosts)
+    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
None)
     self.assertEquals(configurations['hdfs-site']['properties']['dfs.allow.truncate'], 'false')
 
     # Test 4 for dfs.allow.truncate with HAWQ and dfs.allow.truncate set to false
     services["services"].append({"StackServices" : {"service_name" : "HAWQ"}, "components":[]})
-    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
hosts)
+    self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services,
None)
     self.assertEquals(configurations['hdfs-site']['properties']['dfs.allow.truncate'], 'true')
 
   def test_recommendYARNConfigurations(self):


Mime
View raw message