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

Prevent test suite lockups on test server failure #758

Merged
merged 1 commit into from Aug 27, 2021

Commits on Aug 26, 2021

  1. 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.
    voxik committed Aug 26, 2021
    Copy the full SHA
    256c224 View commit details
    Browse the repository at this point in the history