grpc/test/cpp/util
Yijie Ma a7bf07e86a
[EventEngine] PosixEventEngine DNS Resolver (#32701)
This PR implements a c-ares based DNS resolver for EventEngine with the
reference from the original
[grpc_ares_wrapper.h](../blob/master/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h).
The PosixEventEngine DNSResolver is implemented on top of that. Tests
which use the client channel resolver API
([resolver.h](../blob/master/src/core/lib/resolver/resolver.h#L54)) are
ported, namely the
[resolver_component_test.cc](../blob/master/test/cpp/naming/resolver_component_test.cc)
and the
[cancel_ares_query_test.cc](../blob/master/test/cpp/naming/cancel_ares_query_test.cc).
The WindowsEventEngine DNSResolver will use the same EventEngine's
grpc_ares_wrapper and will be worked on next.

The
[resolve_address_test.cc](https://github.com/grpc/grpc/blob/master/test/core/iomgr/resolve_address_test.cc)
which uses the iomgr
[DNSResolver](../blob/master/src/core/lib/iomgr/resolve_address.h#L44)
API has been ported to EventEngine's dns_test.cc. That leaves only 2
tests which use iomgr's API, notably the
[dns_resolver_cooldown_test.cc](../blob/master/test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc)
and the
[goaway_server_test.cc](../blob/master/test/core/end2end/goaway_server_test.cc)
which probably need to be restructured to use EventEngine DNSResolver
(for one thing they override the original grpc_ares_wrapper's free
functions). I will try to tackle these in the next step.
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-07-21 13:24:16 -07:00
..
BUILD [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
byte_buffer_proto_helper.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
byte_buffer_proto_helper.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
byte_buffer_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
channel_trace_proto_helper.cc [JSON] make API public but experimental (#32987) 2023-05-09 08:05:24 -07:00
channel_trace_proto_helper.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
channelz_sampler.cc [JSON] make API public but experimental (#32987) 2023-05-09 08:05:24 -07:00
channelz_sampler_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
cli_call.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
cli_call.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
cli_call_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
cli_credentials.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
cli_credentials.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
config_grpc_cli.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
create_test_channel.cc [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
create_test_channel.h [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
error_details_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
get_grpc_test_runfile_dir.cc [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
get_grpc_test_runfile_dir.h [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
grpc_cli.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
grpc_tool.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
grpc_tool.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
grpc_tool_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
metrics_server.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
metrics_server.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
proto_buffer_reader_test.cc [C++] Added a cord support to gRPC protobuf serializer (#32617) 2023-04-19 08:55:25 -07:00
proto_buffer_writer_test.cc [C++] Added a cord support to gRPC protobuf serializer (#32617) 2023-04-19 08:55:25 -07:00
proto_file_parser.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
proto_file_parser.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
proto_reflection_descriptor_database.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
proto_reflection_descriptor_database.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
service_describer.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
service_describer.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
slice_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
string_ref_helper.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
string_ref_helper.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
string_ref_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
subprocess.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
subprocess.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
test_config.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
test_config_cc.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
test_credentials_provider.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
test_credentials_provider.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
time_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
tls_test_utils.cc Added verified_root_cert_subject pass up through cpp api (#32335) 2023-03-08 13:41:26 -05:00
tls_test_utils.h Added verified_root_cert_subject pass up through cpp api (#32335) 2023-03-08 13:41:26 -05:00