aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-07 11:26:50 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-07 11:26:50 -0700
commit1aee5362f43ece8eb77ba219c163f1169d0d0b24 (patch)
treee703e9cbfa3c11c904dd34bbd13936b7c406ecd1 /test/core/util
parent0f75fbe7edf92d550c48f51555024b323396e210 (diff)
Progress converting to new error system
Diffstat (limited to 'test/core/util')
-rw-r--r--test/core/util/test_tcp_server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/util/test_tcp_server.c b/test/core/util/test_tcp_server.c
index fc89c41907..27c16fc764 100644
--- a/test/core/util/test_tcp_server.c
+++ b/test/core/util/test_tcp_server.c
@@ -94,8 +94,9 @@ void test_tcp_server_poll(test_tcp_server *server, int seconds) {
gpr_time_from_seconds(seconds, GPR_TIMESPAN));
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
gpr_mu_lock(server->mu);
- grpc_pollset_work(&exec_ctx, server->pollset, &worker,
- gpr_now(GPR_CLOCK_MONOTONIC), deadline);
+ GRPC_LOG_IF_ERROR("pollset_work",
+ grpc_pollset_work(&exec_ctx, server->pollset, &worker,
+ gpr_now(GPR_CLOCK_MONOTONIC), deadline));
gpr_mu_unlock(server->mu);
grpc_exec_ctx_finish(&exec_ctx);
}