aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-06-08 13:35:25 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-06-08 13:35:25 -0700
commit485cf40ab7d68b2624a5ab3be3842444f5835f14 (patch)
tree858cd5bd7c0a4e8cc84dafd3e651db4fed396759 /doc
parent20d802db98fc8aba78169567415b003a85b55b84 (diff)
Fixed wrong spec and reworked streaming compressed case
Diffstat (limited to 'doc')
-rw-r--r--doc/interop-test-descriptions.md36
1 files changed, 13 insertions, 23 deletions
diff --git a/doc/interop-test-descriptions.md b/doc/interop-test-descriptions.md
index 7fd21c7022..6a76acd3a8 100644
--- a/doc/interop-test-descriptions.md
+++ b/doc/interop-test-descriptions.md
@@ -224,7 +224,7 @@ Procedure:
size: 31415
}
response_parameters:{
- size: 59
+ size: 9
}
response_parameters:{
size: 2653
@@ -261,20 +261,19 @@ Procedure:
request_compressed_response: bool
response_type:COMPRESSABLE
response_parameters:{
- size: 31415
- }
- response_parameters:{
- size: 59
- }
- response_parameters:{
- size: 2653
+ size: 31424
}
response_parameters:{
- size: 58979
+ size: 61632
}
}
```
+ Note that the `response_parameters` sizes are the sum of the usual streaming
+ response sizes (31415, 9, 2653, 58979) taken in successive pairs. This way,
+ we only keep a single list of sizes while making sure the individual message
+ sizes are large enough to trigger compression in all implementations.
+
Client asserts:
* call was successful
* exactly four responses
@@ -283,7 +282,7 @@ Procedure:
NOT have the compressed message flag set.
* if `request_compressed_response` is true, the response's messages MUST
have the compressed message flag set.
- * response payload bodies are sized (in order): 31415, 59, 2653, 58979
+ * response payload bodies are sized (in order): 31424, 61632
* clients are free to assert that the response payload body contents are
zero and comparing the entire response messages against golden responses
@@ -295,16 +294,10 @@ Procedure:
request_compressed_response: bool
response_type:UNCOMPRESSABLE
response_parameters:{
- size: 31415
- }
- response_parameters:{
- size: 59
- }
- response_parameters:{
- size: 2653
+ size: 31424
}
response_parameters:{
- size: 58979
+ size: 61632
}
}
```
@@ -316,10 +309,7 @@ Procedure:
* the response MAY have the compressed message flag set. Some
implementations will choose to compress the payload even when the output
size if larger than the input.
- * response payload bodies are sized (in order): 31415, 59, 2653, 58979
- * clients are free to assert that the body of the responses are identical to
- the golden uncompressable data at `test/cpp/interop/rnd.dat`.
-
+ * response payload bodies are sized (in order): 31424, 61632
### ping_pong
@@ -350,7 +340,7 @@ Procedure:
{
response_type: COMPRESSABLE
response_parameters:{
- size: 59
+ size: 9
}
payload:{
body: 8 bytes of zeros