Skip to content

Commit

Permalink
Add a timeout interop spec
Browse files Browse the repository at this point in the history
  • Loading branch information
iamqizhao committed May 14, 2015
1 parent e02c148 commit 4b8450a
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions doc/interop-test-descriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 4b8450a

Please sign in to comment.