You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2018/09/26 09:29:46 UTC

[ambari] 02/02: AMBARI-24689. All component statuses should be re-send on registration (aonishuk)

This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 204e7770ace9b017fb3d6be127d5e3f3938ea01b
Author: Andrew Onishuk <ao...@hortonworks.com>
AuthorDate: Wed Sep 26 11:39:16 2018 +0300

    AMBARI-24689. All component statuses should be re-send on registration (aonishuk)
---
 ambari-agent/src/test/python/resource_management/TestLinkResource.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-agent/src/test/python/resource_management/TestLinkResource.py b/ambari-agent/src/test/python/resource_management/TestLinkResource.py
index 6a1377b..221bf6b 100644
--- a/ambari-agent/src/test/python/resource_management/TestLinkResource.py
+++ b/ambari-agent/src/test/python/resource_management/TestLinkResource.py
@@ -34,7 +34,7 @@ class TestLinkResource(TestCase):
 
   @patch.object(os.path, "realpath")
   @patch("resource_management.core.sudo.path_lexists")
-  @patch("resource_management.core.sudo.path_islink")
+  @patch("resource_management.core.sudo.path_lexists")
   @patch("resource_management.core.sudo.unlink")
   @patch("resource_management.core.sudo.symlink")
   def test_action_create_relink(self, symlink_mock, unlink_mock,