diff options
author | Dan Born <dborn@google.com> | 2016-01-07 12:48:37 -0800 |
---|---|---|
committer | Dan Born <dborn@google.com> | 2016-01-07 12:48:37 -0800 |
commit | a7ed54cba76c9c2cf39876e0a2b52fb78c15adb0 (patch) | |
tree | 1f05a06f7c3ba2bfba1ba10926a9b7ee47f4f5f7 /test | |
parent | 76d21f9b10dd252bd5fbd7083c1036c2489aed74 (diff) |
Don't use ep after destroy in the test.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/iomgr/tcp_posix_test.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/core/iomgr/tcp_posix_test.c b/test/core/iomgr/tcp_posix_test.c index 183cec2a01..f8ba8d901f 100644 --- a/test/core/iomgr/tcp_posix_test.c +++ b/test/core/iomgr/tcp_posix_test.c @@ -437,7 +437,6 @@ static void release_fd_test(size_t num_bytes, size_t slice_size) { gpr_slice_buffer_destroy(&state.incoming); grpc_tcp_destroy_and_release_fd(&exec_ctx, ep, &fd, &fd_released_cb); - GPR_ASSERT(grpc_tcp_fd(ep) < 0); gpr_mu_lock(GRPC_POLLSET_MU(&g_pollset)); while (!fd_released_done) { grpc_pollset_worker worker; @@ -446,7 +445,6 @@ static void release_fd_test(size_t num_bytes, size_t slice_size) { } gpr_mu_unlock(GRPC_POLLSET_MU(&g_pollset)); GPR_ASSERT(fd_released_done == 1); - GPR_ASSERT(grpc_tcp_fd(ep) < 0); GPR_ASSERT(fd == sv[1]); grpc_exec_ctx_finish(&exec_ctx); |