ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-9853) Unit Test failures in ambari-web Due to #deleteAlertNotification()
Date Tue, 17 Mar 2015 16:46:41 GMT

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

Jayush Luniya resolved AMBARI-9853.
-----------------------------------
    Resolution: Fixed

> 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]   2) Ambari Web Unit tests test/controllers/main/alerts/manage_alert_notifications_controller_test
App.ManageAlertNotificationsController #deleteAlertNotification() "after each" hook:
>      [exec]      TypeError: 'undefined' is not a function (evaluating 'App.showConfirmationPopup.restore()')
>      [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] 
>      [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)

Mime
View raw message