diff options
author | Mark D. Roth <roth@google.com> | 2018-01-22 12:28:58 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2018-01-22 12:28:58 -0800 |
commit | 97d3d08915199e2eb45fbf2988754c889c37b9ab (patch) | |
tree | 98b3aa9e3c93fd4d4e711e689b38f6d79254441c /test | |
parent | 5b48dc737151464c1d863df6e4318ff3d766ddbc (diff) |
Use wait_for_ready in goaway_server_test.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/goaway_server_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/goaway_server_test.cc b/test/core/end2end/goaway_server_test.cc index 94cfbdda7e..f23d87ea68 100644 --- a/test/core/end2end/goaway_server_test.cc +++ b/test/core/end2end/goaway_server_test.cc @@ -187,7 +187,7 @@ int main(int argc, char** argv) { op = ops; op->op = GRPC_OP_SEND_INITIAL_METADATA; op->data.send_initial_metadata.count = 0; - op->flags = 0; + op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY; op->reserved = nullptr; op++; GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call1, ops, @@ -263,7 +263,7 @@ int main(int argc, char** argv) { op = ops; op->op = GRPC_OP_SEND_INITIAL_METADATA; op->data.send_initial_metadata.count = 0; - op->flags = 0; + op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY; op->reserved = nullptr; op++; GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call2, ops, |