Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-9853

Unit Test failures in ambari-web Due to #deleteAlertNotification()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-web
    • None

    Description

      ambari-web build fails with broken tests.

          [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
      

      Attachments

        Activity

          People

            jluniya Jayush Luniya
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: