Repository: ambari Updated Branches: refs/heads/trunk 913231468 -> 9b7c8ffdb
AMBARI-13596. Allow Falcon service to be upgraded and downgraded during Express Upgrade (Swapan Shridhar via alejandro) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9b7c8ffd Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9b7c8ffd Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9b7c8ffd Branch: refs/heads/trunk Commit: 9b7c8ffdb83395d8fa3dcba76162fe866ebc677b Parents: 9132314 Author: Alejandro Fernandez <[email protected]> Authored: Thu Oct 29 11:20:22 2015 -0700 Committer: Alejandro Fernandez <[email protected]> Committed: Thu Oct 29 11:20:22 2015 -0700 ---------------------------------------------------------------------- ambari-server/src/test/python/TestAmbariServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9b7c8ffd/ambari-server/src/test/python/TestAmbariServer.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/TestAmbariServer.py b/ambari-server/src/test/python/TestAmbariServer.py index 35015e5..be8d80e 100644 --- a/ambari-server/src/test/python/TestAmbariServer.py +++ b/ambari-server/src/test/python/TestAmbariServer.py @@ -8178,7 +8178,7 @@ class TestAmbariServer(TestCase): print_error_msg_mock.assert_called_once_with("stderr:\nstderr") pass - ''' + @patch.object(ServerClassPath, "get_full_ambari_classpath_escaped_for_shell", new = MagicMock(return_value = 'test' + os.pathsep + 'path12')) @patch("ambari_commons.os_utils.run_os_command") @patch("ambari_server.setupSecurity.generate_env") @@ -8221,5 +8221,5 @@ class TestAmbariServer(TestCase): self.assertEquals(runOSCommandMock.call_args[0][0], '/path/to/java -cp test:path12 ' 'org.apache.ambari.server.update.HostUpdateHelper /testFileWithChanges > ' '/var/log/ambari-server/ambari-server.out 2>&1') - ''' +
