diff options
author | David Garcia Quintas <dgq@google.com> | 2017-12-18 13:34:25 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2017-12-18 13:34:25 -0800 |
commit | 3bc0dacfe0e4401d7f7d3ec3e01239a3e225e157 (patch) | |
tree | 51de3f9ca9d0ef3a6a5acb22f26efaf36b69c48f /test | |
parent | 9c8ea03ee3170d8513cd5ae2cd390a4bdd0e9615 (diff) |
Removed exec_ctx from new client_lb_end2end code
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/end2end/client_lb_end2end_test.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/cpp/end2end/client_lb_end2end_test.cc b/test/cpp/end2end/client_lb_end2end_test.cc index 7808eb46bd..191367b1a1 100644 --- a/test/cpp/end2end/client_lb_end2end_test.cc +++ b/test/cpp/end2end/client_lb_end2end_test.cc @@ -51,7 +51,7 @@ using std::chrono::system_clock; // defined in tcp_client_posix.c extern void (*grpc_tcp_client_connect_impl)( - grpc_exec_ctx* exec_ctx, grpc_closure* closure, grpc_endpoint** ep, + grpc_closure* closure, grpc_endpoint** ep, grpc_pollset_set* interested_parties, const grpc_channel_args* channel_args, const grpc_resolved_address* addr, grpc_millis deadline); @@ -63,8 +63,7 @@ namespace { int g_connection_delay_ms; -void tcp_client_connect_with_delay(grpc_exec_ctx* exec_ctx, - grpc_closure* closure, grpc_endpoint** ep, +void tcp_client_connect_with_delay(grpc_closure* closure, grpc_endpoint** ep, grpc_pollset_set* interested_parties, const grpc_channel_args* channel_args, const grpc_resolved_address* addr, @@ -73,8 +72,8 @@ void tcp_client_connect_with_delay(grpc_exec_ctx* exec_ctx, gpr_sleep_until( grpc_timeout_milliseconds_to_deadline(g_connection_delay_ms)); } - original_tcp_connect_fn(exec_ctx, closure, ep, interested_parties, - channel_args, addr, deadline); + original_tcp_connect_fn(closure, ep, interested_parties, channel_args, addr, + deadline); } // Subclass of TestServiceImpl that increments a request counter for |