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

server_test: wait for OnClose in TestClientEOF. #150

Merged
merged 1 commit into from
Jul 28, 2023

Commits on Jul 27, 2023

  1. server_test: wait for OnClose in TestClientEOF.

    In the test for client Call failing with ErrClosed on a closed
    server, wait for the client's OnClose handler to get triggered
    to make sure closing the socket had properly been administered
    on the client's side. Otherwise trying a new Call() might fail
    with some other error than ErrClosed, for instance ENOTCONN.
    
    Signed-off-by: Krisztian Litkey <[email protected]>
    klihub committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    e0cd801 View commit details
    Browse the repository at this point in the history