You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2015/11/14 17:32:47 UTC
ambari git commit: AMBARI-13895. Unit Test failure in Ambari Server
python tests (smohanty)
Repository: ambari
Updated Branches:
refs/heads/trunk d626d0c1a -> 15cc90c0e
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/15cc90c0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/15cc90c0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/15cc90c0
Branch: refs/heads/trunk
Commit: 15cc90c0e7227f7fe3d42427b06dc1ebfab1d093
Parents: d626d0c
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Sat Nov 14 08:23:32 2015 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Sat Nov 14 08:23:32 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/15cc90c0/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 10bfe1a..df8278b 100644
--- a/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
+++ b/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
@@ -907,6 +907,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/15cc90c0/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 e1a7ed3..f52fc53 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
@@ -216,6 +216,7 @@ class TestHistoryServer(RMFTestCase):
principal_name = UnknownConfigurationMock(),
user = 'hdfs',
owner = 'yarn',
+ dfs_type = '',
group = 'hadoop',
hadoop_conf_dir = '/etc/hadoop/conf',
type = 'directory',
@@ -460,6 +461,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',