ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject ambari git commit: AMBARI-22076 - Use A Scoped Repo When Installing stack-tools (unit test fix) (jonathanhurley)
Date Fri, 29 Sep 2017 19:57:31 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 4cd607e8f -> eb89ef048


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/eb89ef04
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/eb89ef04
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/eb89ef04

Branch: refs/heads/branch-2.6
Commit: eb89ef0482c55a8de9b67b86bc16074ff4a1e505
Parents: 4cd607e
Author: Jonathan Hurley <jhurley@hortonworks.com>
Authored: Fri Sep 29 15:55:26 2017 -0400
Committer: Jonathan Hurley <jhurley@hortonworks.com>
Committed: Fri Sep 29 15:56:18 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/eb89ef04/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 51a35eb..a1e827d 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)))


Mime
View raw message