aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client/tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-09 10:09:05 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-09 10:09:05 -0800
commit3b4af54c2141ba6a6db6da1cd83cf7314ffebb2c (patch)
tree47732174b31f846e80454f4c617ebc20b178028b /test/core/bad_client/tests
parentce4c34139b7bc0e106e158866bda76f0348ac1cf (diff)
Add more unusualness
Diffstat (limited to 'test/core/bad_client/tests')
-rw-r--r--test/core/bad_client/tests/simple_request.c6
-rw-r--r--test/core/bad_client/tests/simple_request_unusual.headers2
2 files changed, 6 insertions, 2 deletions
diff --git a/test/core/bad_client/tests/simple_request.c b/test/core/bad_client/tests/simple_request.c
index e09e764dbb..5cddafc0b5 100644
--- a/test/core/bad_client/tests/simple_request.c
+++ b/test/core/bad_client/tests/simple_request.c
@@ -58,7 +58,7 @@
#define PFX_STR_UNUSUAL \
"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n" \
"\x00\x00\x00\x04\x00\x00\x00\x00\x00" /* settings frame */ \
- "\x00\x00\xd1\x01\x04\x00\x00\x00\x01" /* headers: generated from \
+ "\x00\x00\xf4\x01\x04\x00\x00\x00\x01" /* headers: generated from \
simple_request_unusual.headers \
in this directory */ \
"\x10\x05:path\x08/foo/bar" \
@@ -68,7 +68,9 @@
"\x10\x0c""content-type\x1e""application/grpc+this-is-valid" \
"\x10\x14grpc-accept-encoding\x15identity,deflate,gzip" \
"\x10\x02te\x08trailers" \
- "\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)"
+ "\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)" \
+ "\x10\x0cgrpc-timeout\x03""10S" \
+ "\x10\x0cgrpc-timeout\x02""5S"
static void *tag(gpr_intptr t) { return (void *)t; }
diff --git a/test/core/bad_client/tests/simple_request_unusual.headers b/test/core/bad_client/tests/simple_request_unusual.headers
index ad14f24d3e..f36e1dfc9f 100644
--- a/test/core/bad_client/tests/simple_request_unusual.headers
+++ b/test/core/bad_client/tests/simple_request_unusual.headers
@@ -9,3 +9,5 @@ content-type: application/grpc+this-is-valid
grpc-accept-encoding: deflate,identity,gzip
te: trailers
user-agent: bad-client grpc-c/0.12.0.0 (linux)
+grpc-timeout: 10S
+grpc-timeout: 5S