From 3b4af54c2141ba6a6db6da1cd83cf7314ffebb2c Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 9 Dec 2015 10:09:05 -0800 Subject: Add more unusualness --- test/core/bad_client/tests/simple_request.c | 6 ++++-- test/core/bad_client/tests/simple_request_unusual.headers | 2 ++ 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 -- cgit v1.2.3