diff options
author | Yuchen Zeng <zyc@google.com> | 2017-01-19 16:26:55 -0800 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-01-19 16:26:55 -0800 |
commit | 2ef172b15bfb52bd90a80de712be009a5f0a5b92 (patch) | |
tree | b6b398a7b41cb42b175eb1751772ea6276e930d3 /test/core/client_channel/resolvers | |
parent | 04ec4701e303b8b41d90d5ce6861689c7f0fab7f (diff) |
Updated with new changes
updated with changes in backoff, combiner and resolver
Diffstat (limited to 'test/core/client_channel/resolvers')
-rw-r--r-- | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c b/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c index d5ee057657..e6c4d63cff 100644 --- a/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c +++ b/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c @@ -64,7 +64,7 @@ static void my_resolve_address(grpc_exec_ctx *exec_ctx, const char *addr, (*addrs)->addrs = gpr_malloc(sizeof(*(*addrs)->addrs)); (*addrs)->addrs[0].len = 123; } - grpc_exec_ctx_sched(exec_ctx, on_done, error, NULL); + grpc_closure_sched(exec_ctx, on_done, error); } static grpc_resolver *create_resolver(grpc_exec_ctx *exec_ctx, @@ -105,7 +105,7 @@ int main(int argc, char **argv) { grpc_init(); gpr_mu_init(&g_mu); - grpc_blocking_resolve_address = my_resolve_address; + grpc_resolve_address = my_resolve_address; grpc_channel_args *result = (grpc_channel_args *)1; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; |