grpc/test/cpp
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
..
client [test] delete client_channel_stress_test (#33763) 2023-07-19 17:32:10 -07:00
cocoapods [ObjC] Upgrade podspec xx.deployment_target (#33091) 2023-05-20 20:38:24 +00:00
codegen [codegen] Escape variable delimiters in raw comment printing (#32190) 2023-01-24 14:39:19 -08:00
common Add a test case for infinite past or unix epoch expiry in alarm_test.cc (#32101) 2023-01-18 11:09:17 -08:00
end2end [resource quota] Reduce stress test size to prevent OOMs (#33776) 2023-07-19 16:41:19 -07:00
ext [promises] Add logging_test to promise_based_server_call testing (#33774) 2023-07-20 12:54:26 -07:00
grpclb Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop [interop] Fix crash in pick_first LB policy (#33519) 2023-06-22 16:29:15 -07:00
microbenchmarks [hpack] Fix benchmarking timeout (#33675) 2023-07-12 16:22:04 -07:00
naming [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
performance writes_per_rpc_test: TSAN data race fix (#32688) 2023-03-22 19:15:25 -07:00
qps [Test] Explicitly cast `enum class` to `int` before passing it with a format string (#33554) 2023-06-26 23:18:09 -07:00
security Added verified_root_cert_subject pass up through cpp api (#32335) 2023-03-08 13:41:26 -05:00
server TlsCreds: Support revocation of intermediate in chain. (#32544) 2023-03-23 11:34:59 -04:00
test Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
thread_manager [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
util [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
README-iOS.md Refactor end2end tests to exercise each EventEngine (#29202) 2022-03-30 15:43:05 -07:00