aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-05-12 18:25:13 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-05-12 18:27:00 -0700
commit118dc63dbbe3dd8412cbd483369fc927b2b464e5 (patch)
treefd3fe8b7230747951a7db86123a0a1d75f52e31a /test
parent5ff7b71a257e264b2ee986e60a086f282b6670bc (diff)
made send_initial_md compression level a "maybe"
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/compressed_payload.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/end2end/tests/compressed_payload.c b/test/core/end2end/tests/compressed_payload.c
index 13eb0e8b3d..7739335620 100644
--- a/test/core/end2end/tests/compressed_payload.c
+++ b/test/core/end2end/tests/compressed_payload.c
@@ -212,7 +212,9 @@ static void request_with_payload_template(
op = ops;
op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0;
- op->data.send_initial_metadata.compression_level = server_compression_level;
+ op->data.send_initial_metadata.maybe_compression_level.is_set = true;
+ op->data.send_initial_metadata.maybe_compression_level.compression_level =
+ server_compression_level;
op->flags = 0;
op->reserved = NULL;
op++;