From a7ed54cba76c9c2cf39876e0a2b52fb78c15adb0 Mon Sep 17 00:00:00 2001 From: Dan Born Date: Thu, 7 Jan 2016 12:48:37 -0800 Subject: Don't use ep after destroy in the test. --- test/core/iomgr/tcp_posix_test.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') 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); -- cgit v1.2.3