Skip to content

Conversation

@daviwil
Copy link
Contributor

@daviwil daviwil commented Feb 7, 2016

This change provides a fix with timing issues that can occur with tests
which leverage the OutputReader class to read buffered output from the
host process. It avoids test hangs by using a timeout of 5 seconds per
read and handles an edge case where some line segments don't end with
newlines.

@daviwil daviwil force-pushed the daviwil/output-test-fix branch 2 times, most recently from e012fce to 2581eb0 Compare February 8, 2016 01:39
This change provides a fix with timing issues that can occur with tests which leverage the OutputReader class to read buffered output from the host process. It avoids test hangs by using a timeout of 5 seconds per read and handles an edge case where some line segments don't end with newlines.
@daviwil daviwil force-pushed the daviwil/output-test-fix branch from 07fb743 to 1416412 Compare February 8, 2016 03:54
@daviwil
Copy link
Contributor Author

daviwil commented Feb 8, 2016

Not sure whether this will resolve the root cause but hopefully it will prevent future test hangs due to any issues.

daviwil added a commit that referenced this pull request Feb 8, 2016
Fix timing issues with OutputReader in host tests
@daviwil daviwil merged commit 1f62f91 into master Feb 8, 2016
@daviwil daviwil deleted the daviwil/output-test-fix branch February 16, 2016 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants