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

βœ… πŸ› Don't load the karma-coverage plugin by default #14682

Merged
merged 1 commit into from
Apr 18, 2018
Merged

βœ… πŸ› Don't load the karma-coverage plugin by default #14682

merged 1 commit into from
Apr 18, 2018

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Apr 17, 2018

We're seeing karma disconnects on Travis whenever our tests use sauce labs. See https://travis-ci.org/ampproject/amphtml/jobs/367837186#L728-L740

It's possible that this could be due to the use of code coverage plugins. See karma-runner/karma-sauce-launcher#95 (comment)

This PR lazily loads the karma-coverage plugin only if the --coverage flag is used. Hopefully, this will reduce the number of disconnects on Travis.

@rsimha
Copy link
Contributor Author

rsimha commented Apr 17, 2018

/to @jonkeller @erwinmombay @jridgewell

@jonkeller
Copy link
Contributor

jonkeller commented Apr 17, 2018 via email

@rsimha rsimha merged commit 7c9b925 into ampproject:master Apr 18, 2018
@rsimha rsimha deleted the 2018-04-17-SauceLabsDisconnect branch April 18, 2018 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants