diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-22 10:53:14 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-22 10:53:14 -0700 |
commit | 098047b53abfb3142b0dc9eca83564cd565902b7 (patch) | |
tree | 463bb5d60f365f4c7a5e3a6e77ff77bc09ae80c2 /test/core/httpcli | |
parent | 9fa914e554826f3d11663263498df829e0b1b94e (diff) |
Rename run
Diffstat (limited to 'test/core/httpcli')
-rw-r--r-- | test/core/httpcli/httpcli_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/httpcli/httpcli_test.c b/test/core/httpcli/httpcli_test.c index 0287009fae..1b6be7c526 100644 --- a/test/core/httpcli/httpcli_test.c +++ b/test/core/httpcli/httpcli_test.c @@ -95,7 +95,7 @@ test_get (int use_ssl, int port) grpc_pollset_worker worker; grpc_pollset_work (&g_pollset, &worker, gpr_now (GPR_CLOCK_MONOTONIC), n_seconds_time (20), &closure_list); gpr_mu_unlock (GRPC_POLLSET_MU (&g_pollset)); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); gpr_mu_lock (GRPC_POLLSET_MU (&g_pollset)); } gpr_mu_unlock (GRPC_POLLSET_MU (&g_pollset)); @@ -127,7 +127,7 @@ test_post (int use_ssl, int port) grpc_pollset_worker worker; grpc_pollset_work (&g_pollset, &worker, gpr_now (GPR_CLOCK_MONOTONIC), n_seconds_time (20), &closure_list); gpr_mu_unlock (GRPC_POLLSET_MU (&g_pollset)); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); gpr_mu_lock (GRPC_POLLSET_MU (&g_pollset)); } gpr_mu_unlock (GRPC_POLLSET_MU (&g_pollset)); @@ -185,7 +185,7 @@ main (int argc, char **argv) grpc_httpcli_context_destroy (&g_context); grpc_closure_init (&destroyed, destroy_pollset, &g_pollset); grpc_pollset_shutdown (&g_pollset, &destroyed, &closure_list); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); grpc_shutdown (); gpr_subprocess_destroy (server); |