aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/memory_usage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-17 17:20:14 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-17 17:20:14 -0800
commit5acc826ace3981f0e2290f38ecb94b8f6122f6f0 (patch)
tree1e7b9db9de6facf2061b72fc02f070f5b24fac6d /test/core/memory_usage
parent35d89551304a1945e67254920356542f94b45707 (diff)
parentfc4b07e10c0482522dbc6a01401ea8f1606a76b4 (diff)
Merge github.com:grpc/grpc into metadata_filter
Diffstat (limited to 'test/core/memory_usage')
-rw-r--r--test/core/memory_usage/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/memory_usage/client.c b/test/core/memory_usage/client.c
index 9c1947d0cd..0cab872014 100644
--- a/test/core/memory_usage/client.c
+++ b/test/core/memory_usage/client.c
@@ -78,6 +78,7 @@ static void init_ping_pong_request(int call_idx) {
op = metadata_ops;
op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0;
+ op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY;
op++;
op->op = GRPC_OP_RECV_INITIAL_METADATA;
op->data.recv_initial_metadata = &calls[call_idx].initial_metadata_recv;
@@ -132,6 +133,7 @@ static struct grpc_memory_counters send_snapshot_request(int call_idx,
op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0;
+ op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY;
op++;
op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
op++;