Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.0.0
-
None
Description
ambari-web build fails with broken tests.
[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