Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8989

cordova-lib jasmine tests are failing on older hardware

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • None
    • cordova-lib
    • None
    • iOS

    Description

      I cloned the cordova-lib repo everytime in my tests.

      Tests are failing on older hardware. My home machine is a 2011 MBP w/ SSD.
      Tests pass on my 2013 MBA.

      Isolated to 500ms timeout in the start/start functions in plugman tests:
      1. https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install-browserify.spec.js#L149
      2. https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install.spec.js#L147
      3. https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/uninstall.spec.js#L78

      Increasing the timeout to 2000ms will pass all tests on older hardware.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: