diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2017-04-25 11:08:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 11:08:04 -0700 |
commit | 79759fea1abd09102d38af3e13a84b69e898124b (patch) | |
tree | 4ac7c385d528d08d9e2d6d44bb38eec8402f5802 /test/core/end2end/bad_server_response_test.c | |
parent | dc36f4df6aba60275a31227e1d29c4d20b6cadca (diff) | |
parent | b864e7c41c6d0363e23093fb090625f260994962 (diff) |
Merge branch 'master' into v1.3.x
Diffstat (limited to 'test/core/end2end/bad_server_response_test.c')
-rw-r--r-- | test/core/end2end/bad_server_response_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/bad_server_response_test.c b/test/core/end2end/bad_server_response_test.c index c37a292af9..fe7e674d17 100644 --- a/test/core/end2end/bad_server_response_test.c +++ b/test/core/end2end/bad_server_response_test.c @@ -178,7 +178,7 @@ static void start_rpc(int target_port, grpc_status_code expected_status, cq_verifier *cqv; grpc_slice details; - state.cq = grpc_completion_queue_create(NULL); + state.cq = grpc_completion_queue_create_for_next(NULL); cqv = cq_verifier_create(state.cq); gpr_join_host_port(&state.target, "127.0.0.1", target_port); state.channel = grpc_insecure_channel_create(state.target, NULL, NULL); @@ -236,7 +236,7 @@ static void cleanup_rpc(grpc_exec_ctx *exec_ctx) { grpc_event ev; grpc_slice_buffer_destroy_internal(exec_ctx, &state.temp_incoming_buffer); grpc_slice_buffer_destroy_internal(exec_ctx, &state.outgoing_buffer); - grpc_call_destroy(state.call); + grpc_call_unref(state.call); grpc_completion_queue_shutdown(state.cq); do { ev = grpc_completion_queue_next(state.cq, n_sec_deadline(1), NULL); |