ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-13895. Unit Test failure in Ambari Server python tests (smohanty)
Date Sat, 14 Nov 2015 16:35:29 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b83587ffe -> a799c31ad


AMBARI-13895. Unit Test failure in Ambari Server python tests (smohanty)


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

Branch: refs/heads/branch-2.1
Commit: a799c31ad66b4e69b81404a66b4617e491d8eb0b
Parents: b83587f
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Sat Nov 14 08:23:32 2015 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Sat Nov 14 08:35:17 2015 -0800

----------------------------------------------------------------------
 ambari-agent/src/test/python/ambari_agent/TestActionQueue.py       | 1 +
 .../src/test/python/stacks/2.0.6/YARN/test_historyserver.py        | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a799c31a/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py b/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
index ac2ab92..8a9d7d4 100644
--- a/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
+++ b/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
@@ -897,6 +897,7 @@ class TestActionQueue(TestCase):
     self.assertEqual(1, sleep_mock.call_count)
     sleep_mock.assert_any_call(2)
 
+  @not_for_platform(PLATFORM_LINUX)
   @patch("time.sleep")
   @patch.object(OSCheck, "os_distribution", new=MagicMock(return_value=os_distro_value))
   @patch.object(StackVersionsFileHandler, "read_stack_version")

http://git-wip-us.apache.org/repos/asf/ambari/blob/a799c31a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py
index f345cf6..a35fcca 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py
@@ -212,6 +212,7 @@ class TestHistoryServer(RMFTestCase):
         principal_name = UnknownConfigurationMock(),
         user = 'hdfs',
         owner = 'yarn',
+        dfs_type = '',
         group = 'hadoop',
         hadoop_conf_dir = '/etc/hadoop/conf',
         type = 'directory',
@@ -451,6 +452,7 @@ class TestHistoryServer(RMFTestCase):
         hdfs_site = self.getConfig()['configurations']['hdfs-site'],
         kinit_path_local = '/usr/bin/kinit',
         principal_name = 'hdfs',
+        dfs_type = '',
         user = 'hdfs',
         owner = 'yarn',
         group = 'hadoop',


Mime
View raw message