-
Notifications
You must be signed in to change notification settings - Fork 110
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
ember-test never terminates with COVERAGE=true #81
Comments
My builds stopped working with the same behaviour, it seemed to appear randomly. I guess this might be a dependency issue? |
I've seen this as well but only with addons that have acceptance tests. If I skip the acceptance test then the run completes and reports coverage. |
@rox163 Thank you! That was causing the freezing for me too. |
Are you by any chance using I noticed that the In my codebase in Here the full file which solved the issue for me:
import Ember from 'ember';
export default function destroyApp(application) {
Ember.run(application, 'destroy');
server.shutdown();
} |
That was exactly my problem too. Thank you. 😲 |
Still having this issue with version 0.3.9 even with the above solution. Reverting to 0.2.2 fixed it for me. |
The issue is back for me with 0.3.9 but 0.3.8 is still good |
Hopefully solved by #87 |
#87 has been released in 0.3.10 |
Duplicates with #88? |
I opened this ticket over a month before 88. |
Was still seeing this in 0.3.10. I'm using mostly default generated tests with ember 2.10 and ember-cli-mirage. It must have been a problem with a mirage instance never getting shutdown and hanging around. Resolved it by adding
Hope this helps someone else having the same problem. |
@topaxi - that mirage |
I had the same problem. Because of Integration tests where I use New Testing API. I had to close mirage server ( https://gist.github.com/tniezurawski/907d0fa83a7a621146add3871d1827ca |
ember-cli: 2.10.0 ( also repro in previous version )
ember: 2.10.0
ember-cli-code-coverage: 0.38.0
ember t
everything is good with no errors and proper termination.COVERAGE=true ember t
everything succeeds and the coverage is generated as expected, but the process never terminates. When I run it in DEBUG="*" mode it seems to hang with:Looked into debugging phantom js but found no obvious errors.
The text was updated successfully, but these errors were encountered: