grpc/test/core/iomgr
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
..
ios/CFStreamTests [ObjC] Upgrade podspec xx.deployment_target (#33091) 2023-05-20 20:38:24 +00:00
BUILD [tracing] Fix flakiness in tcp_posix_test (#33639) 2023-07-10 12:59:57 -07:00
buffer_list_test.cc Reland global config changes (#32661) 2023-03-27 18:55:24 -07:00
combiner_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
endpoint_pair_test.cc [EventEngine] Skip pathological iomgr test on Windows experiments (#32569) 2023-03-08 19:50:44 -08:00
endpoint_tests.cc [EventEngine] Modify iomgr to allow creation of event engine clients and client side endpoints (#31661) 2023-01-20 19:47:14 -08:00
endpoint_tests.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
error_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
fd_conservation_posix_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
fd_posix_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
grpc_ipv6_loopback_available_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
load_file_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
pollset_windows_starvation_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
resolve_address_posix_test.cc Reland global config changes (#32661) 2023-03-27 18:55:24 -07:00
resolve_address_test.cc [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
socket_utils_test.cc [core] Add a channel argument to set DSCP on streams (#28322) 2023-06-30 16:10:21 -07:00
stranded_event_test.cc [test] Disable cq verifier logs for stress test (#33467) 2023-06-16 09:33:41 -07:00
tcp_client_posix_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
tcp_posix_test.cc [tracing] Fix flakiness in tcp_posix_test (#33639) 2023-07-10 12:59:57 -07:00
tcp_server_posix_test.cc [EventEngine] Modify iomgr to allow creation of posix event engine listeners and server side endpoints (#31928) 2023-01-24 18:22:14 -08:00
timer_heap_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
timer_list_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00