[ 
https://issues.apache.org/jira/browse/AMBARI-26562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohammad Arshad resolved AMBARI-26562.
--------------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

> Fix UT failure in Kerberos Step2 Controller
> -------------------------------------------
>
>                 Key: AMBARI-26562
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26562
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Prabhjyot Singh
>            Assignee: Prabhjyot Singh
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> h3. *Summary*
> In Ambari Web, one of the Kerberos-related unit tests started failing due to 
> changes in the way jQuery constructs AJAX request objects. The test performs 
> a strict {{deepEqual}} comparison against the AJAX payload, which is no 
> longer stable across jQuery versions.
> h3. *Affected Test*
> {code:java}
> ambari-web/test/controllers/main/admin/kerberos/step2_controller_test.js{code}
> Failing assertion 
> ([https://ci-hadoop.apache.org/job/Ambari/job/Ambari-PreCommit-GitHub-PR/job/PR-4091/2/consoleFull):]
> {code:java}
> HeadlessChrome 0.0.0 (Linux 0.0.0) Ambari Web Unit tests 
> test/controllers/main/admin/kerberos/step2_controller_test 
> App.KerberosWizardStep2Controller #createKerberosAdminSession() App.ajax.send 
> should be called FAILED
>       AssertionError: expected { Object (name, sender, ...) } to deeply equal 
> { Object (name, sender, ...) }
>           at Context.<anonymous> 
> (test/controllers/main/admin/kerberos/step2_controller_test.js:839:29) {code}
> h3.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to