aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/reconnect_server.c
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-01-31 15:50:05 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-01-31 15:50:05 -0800
commit6687cb829767c3ab77536b8943343885f8eda131 (patch)
treebdb20055687a6001e9378603dbd32a7e81288f2c /test/core/util/reconnect_server.c
parent6b446b601e239eba900b333089634f2546272d16 (diff)
parent7b005f7fddb0ce158c55bb804fe5811a096f1ae0 (diff)
Merge branch 'master' into poll-cv-disable
Diffstat (limited to 'test/core/util/reconnect_server.c')
-rw-r--r--test/core/util/reconnect_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/util/reconnect_server.c b/test/core/util/reconnect_server.c
index 7bf83a74a1..7fbd0ca6aa 100644
--- a/test/core/util/reconnect_server.c
+++ b/test/core/util/reconnect_server.c
@@ -80,7 +80,7 @@ static void on_connect(grpc_exec_ctx *exec_ctx, void *arg, grpc_endpoint *tcp,
gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME);
timestamp_list *new_tail;
peer = grpc_endpoint_get_peer(tcp);
- grpc_endpoint_shutdown(exec_ctx, tcp);
+ grpc_endpoint_shutdown(exec_ctx, tcp, GRPC_ERROR_CREATE("Connected"));
grpc_endpoint_destroy(exec_ctx, tcp);
if (peer) {
last_colon = strrchr(peer, ':');