Use wait_for_ready in goaway_server_test.

pull/14121/head
Mark D. Roth 7 years ago
parent 5b48dc7371
commit 97d3d08915
  1. 4
      test/core/end2end/goaway_server_test.cc

@ -187,7 +187,7 @@ int main(int argc, char** argv) {
op = ops; op = ops;
op->op = GRPC_OP_SEND_INITIAL_METADATA; op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0; op->data.send_initial_metadata.count = 0;
op->flags = 0; op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY;
op->reserved = nullptr; op->reserved = nullptr;
op++; op++;
GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call1, ops, GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call1, ops,
@ -263,7 +263,7 @@ int main(int argc, char** argv) {
op = ops; op = ops;
op->op = GRPC_OP_SEND_INITIAL_METADATA; op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0; op->data.send_initial_metadata.count = 0;
op->flags = 0; op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY;
op->reserved = nullptr; op->reserved = nullptr;
op++; op++;
GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call2, ops, GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call2, ops,

Loading…
Cancel
Save