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

Bug fix: coverage hangs for large files #110

Merged
merged 1 commit into from
Feb 4, 2013
Merged

Bug fix: coverage hangs for large files #110

merged 1 commit into from
Feb 4, 2013

Conversation

ronen
Copy link
Contributor

@ronen ronen commented Feb 4, 2013

The code that used IO.pipe & ChildProcess to run istanbul was waiting for the process to finish before reading the result.  With a file whose instrumentation is large enough to exceed the system IO buffer size, the istanbul process would block and we'd have deadlock.
 Rather than fixing that using the appropriate nonblocking reading, just switched to %x[]

The code that used IO.pipe & ChildProcess to run istanbul was waiting for the process to finish before reading the result.  With a file whose instrumentation is large enough to exceed the system IO buffer size, the istanbul process would block and we'd have deadlock.  Rather than fixing that using the appropriate nonblocking reading, just switched to %x[]
@netzpirat netzpirat merged commit b45aca0 into guard:master Feb 4, 2013
@netzpirat
Copy link
Contributor

Thanks a lot for all your pull requests! Stuff like this make me enjoy open source. Release 1.12.2.

@ronen
Copy link
Contributor Author

ronen commented Feb 4, 2013

Glad I could contribute! Thanks for the quick turnaround.

...And stuff like guard-jasmine makes me enjoy open source :)

@ronen ronen deleted the patch-3 branch February 4, 2013 20:52
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.

2 participants