diff options
author | Craig Tiller <ctiller@google.com> | 2017-01-30 09:24:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-30 09:24:13 -0800 |
commit | a415c0d14532d89b8079011055479ccda03905b3 (patch) | |
tree | 161e84931d85752df65a7f0d750d888f221b01ad /test/core/iomgr/fd_posix_test.c | |
parent | 7233a7676f2ffeb9ea8278f32fddb679adef381c (diff) | |
parent | 393a4d9156ccc191eca7fa9f00ff7ca0c7f24781 (diff) |
Merge pull request #9486 from ctiller/but-why
Record why an FD was shutdown
Diffstat (limited to 'test/core/iomgr/fd_posix_test.c')
-rw-r--r-- | test/core/iomgr/fd_posix_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/iomgr/fd_posix_test.c b/test/core/iomgr/fd_posix_test.c index a617bfc646..4726e935d8 100644 --- a/test/core/iomgr/fd_posix_test.c +++ b/test/core/iomgr/fd_posix_test.c @@ -132,7 +132,8 @@ static void session_shutdown_cb(grpc_exec_ctx *exec_ctx, void *arg, /*session */ grpc_fd_orphan(exec_ctx, se->em_fd, NULL, NULL, "a"); gpr_free(se); /* Start to shutdown listen fd. */ - grpc_fd_shutdown(exec_ctx, sv->em_fd); + grpc_fd_shutdown(exec_ctx, sv->em_fd, + GRPC_ERROR_CREATE("session_shutdown_cb")); } /* Called when data become readable in a session. */ |