-
Notifications
You must be signed in to change notification settings - Fork 47k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest failed, Travis Passed #6150
Comments
I pinged @cpojer to look at it. We might just want to downgrade our jest in the meantime. |
I would recommend upgrading to 0.9.0-fb3 first. fb1 had some bugs. |
My fault. Move the |
@spicyj can you elaborate what's going on here, just in case someone else runs into this and asks me? Also, please upgrade to fb3, the current one sometimes doesn't complete even if all tests pass. 0.9.0 is ready soon, with much better babel and npm3 support :) |
Jest is properly returning 1, as is grunt, but since we run stuff after that Travis doesn't notice. That is, if you run
then that counts as a pass because only the last command's status matters. Unless you do |
I see. The original problem was however about a worker thread unexpectedly quitting. This might be because one of the tests had a side-effect of killing a node-process for some bad reason. |
Yeah, maybe that is a -fb1 problem. |
We have -fb3 running (I cleaned the caches so we fetched the latest that matched): https://travis-ci.org/facebook/react/jobs/113204333#L242 |
I think travis is doing the right thing now. |
@jimfb That seems unlikely since |
No, I'm not sure, but I did see a travis jest failure on a recent diff. Though, that diff may have had a syntax error, so it's possible it failed harder because it was unable to parse. |
Reading the current travis file, I wouldn't expect a jest failure to cause the travis job to fail. |
|
I removed |
Yes, I think we have to. |
Should we also enable it for PRs? That discrepancy surprised me. |
Yes. This bug was that it was on for master and not for PRs -- it should be on for all builds. |
Calling it out as a separate issue so it doesn't get lost in the noise.
Jest clearly failed, but travis says everything is green:
https://travis-ci.org/facebook/react/jobs/112649566
Discovered in: #6121 (comment)
cc @zpao @spicyj
The text was updated successfully, but these errors were encountered: