aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/echo
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-14 16:16:52 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-14 16:16:52 -0800
commit240d02c0760cdc67345c972b18d43aa1bfea9ccf (patch)
tree22c3b509d2ef1cbcbd6130b995a1a598d761abfb /test/core/echo
parentd63b7896cc6509924548da2236bcfe77140bdb3e (diff)
Echo test uses grpc_call_invoke
Diffstat (limited to 'test/core/echo')
-rw-r--r--test/core/echo/client.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/core/echo/client.c b/test/core/echo/client.c
index 1905863e11..5581cd7582 100644
--- a/test/core/echo/client.c
+++ b/test/core/echo/client.c
@@ -79,11 +79,8 @@ int main(int argc, char **argv) {
GPR_ASSERT(argc == 2);
channel = grpc_channel_create(argv[1], NULL);
call = grpc_channel_create_call(channel, "/foo", "localhost", gpr_inf_future);
- GPR_ASSERT(grpc_call_start_invoke(call, cq, (void *)1, (void *)1, (void *)1,
+ GPR_ASSERT(grpc_call_invoke(call, cq, (void *)1, (void *)1,
0) == GRPC_CALL_OK);
- ev = grpc_completion_queue_next(cq, gpr_inf_future);
- GPR_ASSERT(ev->data.invoke_accepted == GRPC_OP_OK);
- grpc_event_finish(ev);
start_write_next_slice(call, bytes_written, WRITE_SLICE_LENGTH);
bytes_written += WRITE_SLICE_LENGTH;