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/09/11 04:20:14 UTC
ambari git commit: AMBARI-11382.
test_execute_retryable_command_succeed fails intermittently (smohanty)
Repository: ambari
Updated Branches:
refs/heads/trunk 18f9437b7 -> 2b45e161b
AMBARI-11382. test_execute_retryable_command_succeed fails intermittently (smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2b45e161
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2b45e161
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2b45e161
Branch: refs/heads/trunk
Commit: 2b45e161bd77314ca01688bc09b0faaad5276f00
Parents: 18f9437
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Sep 10 19:19:39 2015 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Thu Sep 10 19:19:39 2015 -0700
----------------------------------------------------------------------
ambari-agent/src/test/python/ambari_agent/TestActionQueue.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2b45e161/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 d77adcc..f5ea107 100644
--- a/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
+++ b/ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
@@ -38,7 +38,7 @@ from ambari_agent.ActualConfigHandler import ActualConfigHandler
from ambari_agent.RecoveryManager import RecoveryManager
from ambari_agent.FileCache import FileCache
from ambari_commons import OSCheck
-from only_for_platform import not_for_platform, os_distro_value, PLATFORM_WINDOWS
+from only_for_platform import not_for_platform, os_distro_value, PLATFORM_WINDOWS, PLATFORM_LINUX
import logging
@@ -873,6 +873,7 @@ class TestActionQueue(TestCase):
os.sep + 'tmp' + os.sep + 'ambari-agent' + os.sep + 'errors-19.txt', override_output_files=False, retry=True)])
#retryable_command
+ @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")