ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject ambari git commit: AMBARI-13810. UT failures on branch-2.1 (aonishuk)
Date Tue, 10 Nov 2015 13:12:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 570a7d538 -> 968e9379e


AMBARI-13810. UT failures on branch-2.1  (aonishuk)


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

Branch: refs/heads/branch-2.1
Commit: 968e9379ed7e353e18c9b9a43a99fdf3597a3d3f
Parents: 570a7d5
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Tue Nov 10 15:12:07 2015 +0200
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Tue Nov 10 15:12:07 2015 +0200

----------------------------------------------------------------------
 .../src/test/python/stacks/2.0.6/HDFS/test_namenode.py      | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/968e9379/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
index 1608f57..f18d501 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
@@ -1320,15 +1320,6 @@ class TestNamenode(RMFTestCase):
     self.assertResourceCalled('Execute', ('hdp-select', 'set', 'hadoop-hdfs-namenode', version),
sudo=True)
     self.assertNoMoreResources()
 
-    self.assertEquals(1, mocks_dict['call'].call_count)
-    self.assertEquals(1, mocks_dict['checked_call'].call_count)
-    self.assertEquals(
-      ('conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.3.0.0-1234',
'--conf-version', '0'),
-       mocks_dict['checked_call'].call_args_list[0][0][0])
-    self.assertEquals(
-      ('conf-select', 'create-conf-dir', '--package', 'hadoop', '--stack-version', '2.3.0.0-1234',
'--conf-version', '0'),
-       mocks_dict['call'].call_args_list[0][0][0])
-
   def test_post_upgrade_restart(self):
     config_file = self.get_src_folder()+"/test/python/stacks/2.0.6/configs/default.json"
     with open(config_file, "r") as f:


Mime
View raw message