Skip to content
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

Force aegir/karma to exit after successful run #222

Closed
wants to merge 1 commit into from
Closed

Conversation

victorb
Copy link
Member

@victorb victorb commented May 4, 2018

Karma has some issues letting go after the test run. Ref karma-runner/karma#1788 and ampproject/amphtml#14814

This fix basically forces aegir to close after the karma tests have been successfully run, so instead of a test-run taking 13 seconds for the tests to run then 30 seconds for karma to force-close, it finishes in 14 seconds.

Solves #212

Karma has some issues letting go after the test run. Ref karma-runner/karma#1788 and ampproject/amphtml#14814

This fix basically forces aegir to close after the karma tests have been successfully run, so instead of a test-run taking 13 seconds for the tests to run then 30 seconds for karma to force-close, it finishes in 14 seconds. 

Solves #212
@victorb victorb requested a review from dignifiedquire May 4, 2018 12:07
@ghost ghost assigned victorb May 4, 2018
@ghost ghost added the status/in-progress In progress label May 4, 2018
@victorb
Copy link
Member Author

victorb commented May 4, 2018

From IRC

14:59:32 <@dignifiedquire> victorbjelkholm: yeah that will be problematic
14:59:40 <@dignifiedquire>  you will have browser hanging around
14:59:44 <@dignifiedquire> and fun things like that

@victorb
Copy link
Member Author

victorb commented May 4, 2018

Proper fix incoming from Karma instead of over here. Will submit PR once new release of Karma happens.

@victorb victorb closed this May 4, 2018
@ghost ghost removed the status/in-progress In progress label May 4, 2018
@hugomrdias hugomrdias deleted the force-exit branch April 20, 2020 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant