diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-28 13:53:40 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-28 13:53:40 -0800 |
commit | 6c39686dfa4307bb38ca0d3af78f7a72413d0198 (patch) | |
tree | a4e3eecadab8e9c60b31f8dd76ee9b647f2164b9 /test/core/transport | |
parent | ddd91dbb42f6f52655738c6520548d04ea5f8468 (diff) |
Preparatory changes for work shedding
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
functions
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/connectivity_state_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/transport/connectivity_state_test.c b/test/core/transport/connectivity_state_test.c index 34ab45d260..fef8800add 100644 --- a/test/core/transport/connectivity_state_test.c +++ b/test/core/transport/connectivity_state_test.c @@ -43,13 +43,13 @@ int g_counter; -static void must_succeed(grpc_exec_ctx *exec_ctx, void *arg, int success) { +static void must_succeed(grpc_exec_ctx *exec_ctx, void *arg, bool success) { GPR_ASSERT(success); GPR_ASSERT(arg == THE_ARG); g_counter++; } -static void must_fail(grpc_exec_ctx *exec_ctx, void *arg, int success) { +static void must_fail(grpc_exec_ctx *exec_ctx, void *arg, bool success) { GPR_ASSERT(!success); GPR_ASSERT(arg == THE_ARG); g_counter++; |