aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Qi Zhao <toqizhao@gmail.com>2015-05-14 14:58:17 -0700
committerGravatar Qi Zhao <toqizhao@gmail.com>2015-05-14 14:58:17 -0700
commit4b8450a72b4197bbb5759b90c952cfe351ea26e8 (patch)
treef69a201ca8fb68be96e6cd8cd8c5dae3dcbbea81 /doc
parente02c1482716466ccc5fa2dab8a632dee1020e5d1 (diff)
Add a timeout interop spec
Diffstat (limited to 'doc')
-rw-r--r--doc/interop-test-descriptions.md30
1 files changed, 28 insertions, 2 deletions
diff --git a/doc/interop-test-descriptions.md b/doc/interop-test-descriptions.md
index e20f5b1b6d..9dfee66864 100644
--- a/doc/interop-test-descriptions.md
+++ b/doc/interop-test-descriptions.md
@@ -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)