diff options
author | 2015-07-31 17:01:47 -0700 | |
---|---|---|
committer | 2015-07-31 17:01:47 -0700 | |
commit | 99e61645ce348df59c549011d5111cd11ed1c291 (patch) | |
tree | 1430bb509e343af5983899f6b0808a018222440b /test/core/fling | |
parent | 3e7c6a701c8aea58cacb023ffa8b3c75e7e67390 (diff) |
Update wrappers, tests to new create_call()
Diffstat (limited to 'test/core/fling')
-rw-r--r-- | test/core/fling/client.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/core/fling/client.c b/test/core/fling/client.c index 5647a16101..efe09bb20e 100644 --- a/test/core/fling/client.c +++ b/test/core/fling/client.c @@ -89,9 +89,9 @@ static void init_ping_pong_request(void) { } static void step_ping_pong_request(void) { - call = - grpc_channel_create_call(channel, cq, "/Reflector/reflectUnary", - "localhost", gpr_inf_future(GPR_CLOCK_REALTIME)); + call = grpc_channel_create_call(channel, NULL, GRPC_INHERIT_DEFAULTS, cq, + "/Reflector/reflectUnary", "localhost", + gpr_inf_future(GPR_CLOCK_REALTIME)); GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(call, ops, op - ops, (void *)1)); grpc_completion_queue_next(cq, gpr_inf_future(GPR_CLOCK_REALTIME)); @@ -101,9 +101,9 @@ static void step_ping_pong_request(void) { } static void init_ping_pong_stream(void) { - call = - grpc_channel_create_call(channel, cq, "/Reflector/reflectStream", - "localhost", gpr_inf_future(GPR_CLOCK_REALTIME)); + call = grpc_channel_create_call(channel, NULL, GRPC_INHERIT_DEFAULTS, cq, + "/Reflector/reflectStream", "localhost", + gpr_inf_future(GPR_CLOCK_REALTIME)); stream_init_op.op = GRPC_OP_SEND_INITIAL_METADATA; stream_init_op.data.send_initial_metadata.count = 0; GPR_ASSERT(GRPC_CALL_OK == |