aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-13 09:04:55 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-06 14:43:21 -0800
commit255edaa32e236c8e30d378517e64b507e5b765a9 (patch)
treea1e4ec83e9e7b5bb908fbc3f84ba1b5adfd2aa54 /test/core
parente9d67009e9dfa35c499cdeb0ea103bd5c379c0bb (diff)
Fixes
Diffstat (limited to 'test/core')
-rw-r--r--test/core/end2end/tests/filter_causes_close.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/end2end/tests/filter_causes_close.c b/test/core/end2end/tests/filter_causes_close.c
index 8afd681505..114fd71d05 100644
--- a/test/core/end2end/tests/filter_causes_close.c
+++ b/test/core/end2end/tests/filter_causes_close.c
@@ -210,7 +210,9 @@ static void recv_im_ready(grpc_exec_ctx *exec_ctx, void *arg,
call_data *calld = elem->call_data;
grpc_closure_sched(
exec_ctx, calld->recv_im_ready,
- GRPC_ERROR_CREATE_REFERENCING("Forced call to close", &error, 1));
+ grpc_error_set_int(
+ GRPC_ERROR_CREATE_REFERENCING("Forced call to close", &error, 1),
+ GRPC_ERROR_INT_GRPC_STATUS, GRPC_STATUS_PERMISSION_DENIED));
}
static void start_transport_stream_op(grpc_exec_ctx *exec_ctx,