diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-23 23:52:04 +0000 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-23 23:52:04 +0000 |
commit | 125bb7ccca7903082efc76d16502419023b09018 (patch) | |
tree | 4f03c25e9049c5db73edcf6517f5dcc6c551c1dd /test | |
parent | 0315572b772e236e5552316b990ed40bc4538a40 (diff) |
Add missing kick
Diffstat (limited to 'test')
-rw-r--r-- | test/core/iomgr/tcp_posix_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/iomgr/tcp_posix_test.c b/test/core/iomgr/tcp_posix_test.c index a1c54e19c1..13131d1a52 100644 --- a/test/core/iomgr/tcp_posix_test.c +++ b/test/core/iomgr/tcp_posix_test.c @@ -162,6 +162,7 @@ static void read_cb(grpc_exec_ctx *exec_ctx, void *user_data, gpr_log(GPR_INFO, "Read %" PRIuPTR " bytes of %" PRIuPTR, read_bytes, state->target_read_bytes); if (state->read_bytes >= state->target_read_bytes) { + GPR_ASSERT(GRPC_LOG_IF_ERROR("kick", grpc_pollset_kick(g_pollset, NULL))); gpr_mu_unlock(g_mu); } else { grpc_endpoint_read(exec_ctx, state->ep, &state->incoming, &state->read_cb); |