diff options
author | 2017-09-01 09:41:43 -0700 | |
---|---|---|
committer | 2017-09-01 09:41:43 -0700 | |
commit | 0ff222a23b94a34d03d1cfa4b5c148406e441f4c (patch) | |
tree | e599ba1b0bdb18d24fdf0bc725f32cf087470f34 /test/core/iomgr/tcp_client_posix_test.c | |
parent | 4b852546266e63fcc1e5a67ae7be3608be69af50 (diff) |
Add pollset_kick stats
Diffstat (limited to 'test/core/iomgr/tcp_client_posix_test.c')
-rw-r--r-- | test/core/iomgr/tcp_client_posix_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/core/iomgr/tcp_client_posix_test.c b/test/core/iomgr/tcp_client_posix_test.c index 00ea495bbe..1032da942b 100644 --- a/test/core/iomgr/tcp_client_posix_test.c +++ b/test/core/iomgr/tcp_client_posix_test.c @@ -53,8 +53,10 @@ static gpr_timespec test_deadline(void) { static void finish_connection() { gpr_mu_lock(g_mu); g_connections_complete++; - GPR_ASSERT( - GRPC_LOG_IF_ERROR("pollset_kick", grpc_pollset_kick(g_pollset, NULL))); + grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; + GPR_ASSERT(GRPC_LOG_IF_ERROR("pollset_kick", + grpc_pollset_kick(&exec_ctx, g_pollset, NULL))); + grpc_exec_ctx_finish(&exec_ctx); gpr_mu_unlock(g_mu); } |