-
Notifications
You must be signed in to change notification settings - Fork 298
Conversation
js-ipfs-api needs to run in |
Interesting. Ok added that and now I've multiple of one type of error:
|
that means your tests are too slow and you have to increase the timeout for those |
Ok, updated all the timeouts for the tests that had timeouts. Now I've ECONRESET errors. |
Found that these problems also exist with the test repo, see ipfs-inactive/aegir-test-repo#1 |
are you using all patches I made to ipfs-factory on the test repo? |
@dignifiedquire see the PR ipfs-inactive/aegir-test-repo#1, it also fails there. I made no changes to the aegir-test-repo |
@diasdavid one lonely test failing on circle :D |
@dignifiedquire gotta catch them all |
But travis is much slower and still timing out on tons of tests, plus it seems you haven't updated all files yet to pass linting |
Let's see now on another run :) No worries here, I'll be following on this one |
@dignifiedquire something is wrong with code coverage (last piece!) https://travis-ci.org/ipfs/js-ipfs-api/jobs/269735569#L3113-L3166 Running locally I get nothing:
|
@diasdavid I am confused about your statements
|
But I think I see that here is a bug with the aliasing, let me publish a release for that fix, that should solve the issue you are seeing |
published 12.0.1 please try that |
Ok, so now tests take over 40 mins to run in Travis (from previously 17 mins) plus they fail because it seems that |
@diasdavid well circle ci finally works. And it has much more reasonable build times which could probably be improved with setting up a parallel pipeline. As I mentioned in the community discussion, I think it is time for us to depart ways with travis |
circle is not running Lint nor coverage running coverage locally also fails and also takes a ton of extra time. I don't think we can blame travis on this one. |
Coverage is much slower than regular runs (always has been) because of the overhead of instrumentation. Not sure if there is some regression that jest is a lot slower for this though. |
@diasdavid looking at travis output, it seems that the errors are actually not timeouts strange enough: https://travis-ci.org/ipfs/js-ipfs-api/jobs/270369040 |
@diasdavid there is no timeout here: https://travis-ci.org/ipfs/js-ipfs-api/jobs/270685309#L4821 |
@diasdavid coverage works now on circle, slow travis is still slow |
0088bdc
to
cfc5cfc
Compare
cfc5cfc
to
47518c8
Compare
Thanks @dignifiedquire. I've mixed feelings about accepting our tests getting 2x or more slower due to JEST by just switching coverage to circle.. Just squashed commits and rebased master onto this branch, let's see what's left to do. |
|
Travis go home, you are drunk. |
woooooot it is merged 🎉 |
Updated deps and applied the same migrations that happen on the test repo with exception to the PubSub ones https://github.com/ipfs/aegir-test-repo/commit/75c82b3775db69a2e42d1005b767ef78e51161ea##commitcomment-23903275
Seeing a lot of errors coming from JEST, 94 tests fail out of 280.