ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject git commit: AMBARI-6158. Falcon package failed to install on Ubuntu (aonishuk)
Date Wed, 18 Jun 2014 12:12:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b19d840f2 -> 514ed6397


AMBARI-6158. Falcon package failed to install on Ubuntu (aonishuk)


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

Branch: refs/heads/trunk
Commit: 514ed6397894f6f315c992cdf5bf17ee67e315d6
Parents: b19d840
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed Jun 18 15:11:25 2014 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed Jun 18 15:11:51 2014 +0300

----------------------------------------------------------------------
 .../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/514ed639/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 9e84de5..cc9a1d7 100644
--- a/ambari-agent/src/test/python/resource_management/TestPackageResource.py
+++ b/ambari-agent/src/test/python/resource_management/TestPackageResource.py
@@ -36,7 +36,7 @@ class TestPackageResource(TestCase):
       Package("some_package",
       )
     call_mock.assert_called_with('dpkg --get-selections some_package | grep -v deinstall')
   
-    shell_mock.assert_called_with("env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get --force-yes
--assume-yes install some_package")
+    shell_mock.assert_called_with("env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q
-o Dpkg::Options::='--force-confdef' --force-yes --assume-yes install some_package")
 
 
   @patch.object(shell, "call")


Mime
View raw message