Closed bajtos closed 9 years ago
FWIW, the test failure seems like a timing problem, tests sometimes fail sometimes pass when run on my machine.
Workaround for phantomjs, until this patch is landed: install phantomjs globally, e.g. via brew install phantomjs
. npm install phantomjs
will pick the global version and skip the failing install.js
script.
Sorry, didn't see this until just now.
Any insight on those across-the-board test failures from Travis?
Any insight on those across-the-board test failures from Travis?
IIRC, the test "ncp modified files copies change source file mtime and copy" fails on some runs and then passes on subsequent runs. I assume it's a timing issue in the test, but I don't have time to investigate it myself.
You can try to re-run the CI jobs, possibly repeatedly, and hopefully after few runs the tests will be green.
Fix the condition used to check whether streams are modern, correctly detect io.js 1.0 as a modern engine.
This fixes the install script used by phantomjs which hangs inside
ncp
at the moment.I was not able to reproduce the problem locally inside ncp, thus there is no test to cover this change :(
@mmalecki @AvianFlu Could you please review, land and release this patch as soon as reasonably possible?
ncp
is used e.g. by Karma test runner (karma-phantomjs-launcher), thus most front-end people cannot upgrade to io.js until this fix is landed.