ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject ambari git commit: AMBARI-13249: Fix unit test failure in trunk (jluniya)
Date Sat, 26 Sep 2015 20:25:49 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 94baa2f02 -> bb1491f07


AMBARI-13249: Fix unit test failure in trunk (jluniya)


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

Branch: refs/heads/trunk
Commit: bb1491f073fd011b91dd58225ff8513923e2629d
Parents: 94baa2f
Author: Jayush Luniya <jluniya@hortonworks.com>
Authored: Sat Sep 26 13:25:42 2015 -0700
Committer: Jayush Luniya <jluniya@hortonworks.com>
Committed: Sat Sep 26 13:25:42 2015 -0700

----------------------------------------------------------------------
 ambari-server/src/test/python/TestAmbariServer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bb1491f0/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 d4a1450..056dac8 100644
--- a/ambari-server/src/test/python/TestAmbariServer.py
+++ b/ambari-server/src/test/python/TestAmbariServer.py
@@ -2911,7 +2911,7 @@ class TestAmbariServer(TestCase):
   @patch("ambari_server.dbConfiguration_linux.run_os_command")
   def test_get_postgre_status(self, run_os_command_mock):
 
-    run_os_command_mock.return_value = (1, "running", None)
+    run_os_command_mock.return_value = (0, "running", None)
     pg_status, retcode, out, err = PGConfig._get_postgre_status()
     self.assertEqual("running", pg_status)
 


Mime
View raw message