Daniel Alm
|
e00e1e8e80
Fix several completion queue leaks in tests; ensure that cancelling a session server-side always shuts down the corresponding completion queue.
|
7 years ago |
Daniel Alm
|
fd60668194
Streamline the interface of the server-side response handling code: In the default (successful) case, most request handlers can now simply return `.ok` and have `ServiceServer` handle sending back the status for them. This also streamlines the `run()` implementations of the `ServerSession` subclasses.
|
7 years ago |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
7 years ago |
Daniel Alm
|
c9620048f5
Make the test expectations on `receive` consistent across Linux and macOS.
|
7 years ago |
Daniel Alm
|
0985a47176
Also add client-timeout tests and rename "ErrorHandlingTests" to "ConnectionFailureTests".
|
7 years ago |
Daniel Alm
|
2ebe048765
Add tests to ensure that server-side timeouts are handled as expected.
|
7 years ago |