Skip to content
Snippets Groups Projects
Commit 4b8450a7 authored by Qi Zhao's avatar Qi Zhao
Browse files

Add a timeout interop spec

parent e02c1482
No related branches found
No related tags found
No related merge requests found
......@@ -517,6 +517,34 @@ Procedure:
Asserts:
* Call completed with status CANCELLED
### timeout_on_sleeping_server
This test verifies that an RPC request whose lifetime exceeds its configured timeout value will end with the DeadlineExceeded status.
Server features:
* [FullDuplexCall][]
* [Compressable Payload][]
* [Observe ResponseParameters.interval_us][]
Procedure:
1. Client calls FullDuplexCall with the following request and sets its timeout to 1ms.
```
{
response_type: COMPRESSABLE
response_parameters:{
interval_us: 3000
}
payload:{
body: 27182 bytes of zeros
}
}
```
2. Server will sleep for the configured interval_us and client waits for the status.
Asserts:
* Call completed with status DeadlineExceeded.
### concurrent_large_unary
Status: TODO
......@@ -540,8 +568,6 @@ Cancel after sent headers (ctiller - done)
Cancel after received first message (ctiller - done)
Timeout after expire (zhaoq)
Zero-message streams (ejona)
Multiple thousand simultaneous calls on same Channel (ctiller - done)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment