diff options
author | yang-g <yangg@google.com> | 2017-01-04 13:11:18 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-01-04 13:11:18 -0800 |
commit | de3b8a8efb9dedddf8f728d60ee5a6833b6894ec (patch) | |
tree | d6a692f6f47a1aaa2372791d6925f7e35644c929 /test/core/surface/lame_client_test.c | |
parent | 8bd6a0542b7d3ad08497e14fce5470cb50c7bc87 (diff) | |
parent | 360f5d2abf8cb0f92aeeb3a1b201d2eb3bd13374 (diff) |
Merge branch 'master' into health
Diffstat (limited to 'test/core/surface/lame_client_test.c')
-rw-r--r-- | test/core/surface/lame_client_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c index 6afcefca92..b6db6a6b08 100644 --- a/test/core/surface/lame_client_test.c +++ b/test/core/surface/lame_client_test.c @@ -62,7 +62,8 @@ void test_transport_op(grpc_channel *channel) { grpc_connectivity_state state = GRPC_CHANNEL_IDLE; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - grpc_closure_init(&transport_op_cb, verify_connectivity, &state); + grpc_closure_init(&transport_op_cb, verify_connectivity, &state, + grpc_schedule_on_exec_ctx); op = grpc_make_transport_op(NULL); op->on_connectivity_state_change = &transport_op_cb; @@ -71,7 +72,8 @@ void test_transport_op(grpc_channel *channel) { elem->filter->start_transport_op(&exec_ctx, elem, op); grpc_exec_ctx_finish(&exec_ctx); - grpc_closure_init(&transport_op_cb, do_nothing, NULL); + grpc_closure_init(&transport_op_cb, do_nothing, NULL, + grpc_schedule_on_exec_ctx); op = grpc_make_transport_op(&transport_op_cb); elem->filter->start_transport_op(&exec_ctx, elem, op); grpc_exec_ctx_finish(&exec_ctx); |