diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-15 16:06:41 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-15 16:06:41 -0700 |
commit | c8762faf46a8e95e3de70e422a43d4925d4d6a86 (patch) | |
tree | c9ee296bb4c7414d54dc79849205ae59a745720b /test/core | |
parent | aee10fd73c0fc23c6c7ac1fea0874c54107c1a50 (diff) |
clang-format code
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/iomgr/endpoint_tests.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/core/iomgr/endpoint_tests.c b/test/core/iomgr/endpoint_tests.c index aab3c0c611..0f26c0edfd 100644 --- a/test/core/iomgr/endpoint_tests.c +++ b/test/core/iomgr/endpoint_tests.c @@ -257,12 +257,14 @@ static void inc_on_failure(grpc_exec_ctx *exec_ctx, void *arg, bool success) { *(int *)arg += (success == false); } -static void wait_for_fail_count(grpc_exec_ctx *exec_ctx, int *fail_count, int want_fail_count) { +static void wait_for_fail_count(grpc_exec_ctx *exec_ctx, int *fail_count, + int want_fail_count) { grpc_exec_ctx_flush(exec_ctx); for (int i = 0; i < 5 && *fail_count < want_fail_count; i++) { grpc_pollset_worker *worker = NULL; gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME); - gpr_timespec deadline = gpr_time_add(now, gpr_time_from_seconds(1, GPR_TIMESPAN)); + gpr_timespec deadline = + gpr_time_add(now, gpr_time_from_seconds(1, GPR_TIMESPAN)); gpr_mu_lock(g_mu); grpc_pollset_work(exec_ctx, g_pollset, &worker, now, deadline); gpr_mu_unlock(g_mu); |