Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information