You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/10/02 20:39:50 UTC

[39/50] [abbrv] ambari git commit: AMBARI-22076 - Use A Scoped Repo When Installing stack-tools (unit test fix) (jonathanhurley)

AMBARI-22076 - Use A Scoped Repo When Installing stack-tools (unit test fix) (jonathanhurley)


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

Branch: refs/heads/branch-feature-AMBARI-20859
Commit: d19f0bb7661404ccc72099621e9c2d7c97609d2a
Parents: 31344ff
Author: Jonathan Hurley <jh...@hortonworks.com>
Authored: Fri Sep 29 15:55:26 2017 -0400
Committer: Jonathan Hurley <jh...@hortonworks.com>
Committed: Fri Sep 29 15:55:26 2017 -0400

----------------------------------------------------------------------
 .../src/test/python/resource_management/TestPackageResource.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d19f0bb7/ambari-agent/src/test/python/resource_management/TestPackageResource.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/test/python/resource_management/TestPackageResource.py b/ambari-agent/src/test/python/resource_management/TestPackageResource.py
index 66227c6..49e3adf 100644
--- a/ambari-agent/src/test/python/resource_management/TestPackageResource.py
+++ b/ambari-agent/src/test/python/resource_management/TestPackageResource.py
@@ -186,7 +186,7 @@ class TestPackageResource(TestCase):
               )
     self.assertEquals(shell_mock.call_args[0][0],
                       ['/usr/bin/yum', '-d', '0', '-e', '0', '-y', 'install',
-                       '--disablerepo=',
+                       '--disablerepo=*',
                        '--enablerepo=HDP-UTILS-2.2.0.1-885,HDP-2.2.0.1-885', 'some_package'])
 
   @patch.object(shell, "call", new = MagicMock(return_value=(0, None)))