Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent test suite lockups on test server failure
This addresses two issues: 1) When the test server fails for whatever reason, the test suite gets stuck in infinite loop reading stderr output. This can be simply prevented, because when the `gets` reads from closed pipe, it returns `nil`. 2) When the test server fails during startup, there is no way to know why. Therefore the server messages are collected and reported in case the stderr pipe is unexpectedly closed.
- Loading branch information
Showing
5 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters