Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
None
-
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.