-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40725/
-----------------------------------------------------------

(Updated Nov. 26, 2015, 1:16 a.m.)


Review request for Ambari, Richard Zang and Xi Wang.


Bugs: AMBARI-14080
    https://issues.apache.org/jira/browse/AMBARI-14080


Repository: ambari


Description
-------

STR:
On Add Service wizard while adding Ranger service, select MySQL database
Test connection for system DBA user.This happens successfully
Switch the DB to MSSQL
Again try test connection

Expected Result: MSSQL Jar should be used for test connection and if MSSQL is 
correctly setup test connection should pass
Actual Result: MySQL connection Jar is used and test connection fails

This is due to the incorrect API invoked by the ambari-web.
dbname field in the API is not updated when database flavor is changed and API 
is triggered via "Test Connection" action


Diffs (updated)
-----

  ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js 
199aac6 

Diff: https://reviews.apache.org/r/40725/diff/


Testing
-------

verified that the patch resolves the issue on the cluster and ambari-web unit 
tests passes with the patch:
10229 tests complete (12 seconds)
104 tests pending


Thanks,

Jaimin Jetly

Reply via email to