aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-23 23:52:04 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-05-23 23:52:04 +0000
commit125bb7ccca7903082efc76d16502419023b09018 (patch)
tree4f03c25e9049c5db73edcf6517f5dcc6c551c1dd /test/core
parent0315572b772e236e5552316b990ed40bc4538a40 (diff)
Add missing kick
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/tcp_posix_test.c1
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);