[
https://issues.apache.org/jira/browse/AMBARI-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jayush Luniya reassigned AMBARI-9853:
-------------------------------------
Assignee: Jayush Luniya
> Unit Test failures in ambari-web Due to #deleteAlertNotification()
> -------------------------------------------------------------------
>
> Key: AMBARI-9853
> URL: https://issues.apache.org/jira/browse/AMBARI-9853
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.0.0
> Reporter: Jonathan Hurley
> Assignee: Jayush Luniya
> Priority: Blocker
> Fix For: 2.0.0
>
>
> ambari-web build fails with broken tests.
> {noformat}
> [exec] [0m 2) Ambari Web Unit tests
> test/controllers/main/alerts/manage_alert_notifications_controller_test
> App.ManageAlertNotificationsController #deleteAlertNotification() "after
> each" hook:
> [exec] [0m[31m TypeError: 'undefined' is not a function
> (evaluating 'App.showConfirmationPopup.restore()')[0m[90m
> [exec] at
> file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/public/test/javascripts/test.js:10059
> [exec] at
> file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4039
> [exec] at next
> (file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4303)
> [exec] at
> file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4307
> [exec] at timeslice
> (file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:5279)
> [exec] [0m
> [exec]
> [exec] Upgrade in INIT state
> [exec] TRACE: Entering db:getid
> [exec] npm ERR! Test failed. See above for more details.
> [exec] npm ERR! not ok code 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)