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/branch-feature-AMBARI-20859
Commit: edd5ce9b78ee5d4d369936a33e4f0ca75474f1c9
Parents: 9ac8e53
Author: Dmytro Sen <[email protected]>
Authored: Fri Oct 20 16:26:16 2017 +0300
Committer: Dmytro Sen <[email protected]>
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:

Reply via email to