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

ambari git commit: AMBARI-22276 Ambari trunk builds failing in TestAmbariServer (dsen)

Repository: ambari
Updated Branches:
  refs/heads/trunk 9ac8e534d -> edd5ce9b7


AMBARI-22276 Ambari trunk builds failing in TestAmbariServer (dsen)


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

Branch: refs/heads/trunk
Commit: edd5ce9b78ee5d4d369936a33e4f0ca75474f1c9
Parents: 9ac8e53
Author: Dmytro Sen <ds...@apache.org>
Authored: Fri Oct 20 16:26:16 2017 +0300
Committer: Dmytro Sen <ds...@apache.org>
Committed: Fri Oct 20 16:26:16 2017 +0300

----------------------------------------------------------------------
 ambari-server/src/test/python/TestAmbariServer.py | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/edd5ce9b/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 d064b00..66df2d8 100644
--- a/ambari-server/src/test/python/TestAmbariServer.py
+++ b/ambari-server/src/test/python/TestAmbariServer.py
@@ -8000,10 +8000,6 @@ class TestAmbariServer(TestCase):
   @patch("ambari_server.serverConfiguration.get_ambari_properties")
   @patch("ambari_server.serverConfiguration.get_ambari_version")
   def test_check_database_name_property(self, get_ambari_version_mock, get_ambari_properties_mock, write_property_mock):
-    parser = OptionParser()
-    parser.add_option('--database', default=None, help="Database to use embedded|oracle|mysql|mssql|postgres", dest="dbms")
-    args = parser.parse_args()
-
     # negative case
     get_ambari_properties_mock.return_value = {JDBC_DATABASE_NAME_PROPERTY: ""}
     try: