Add c-ares resolver tests against GCE DNS, redo of #12010#12651
Add c-ares resolver tests against GCE DNS, redo of #12010#12651apolcyn merged 1 commit intogrpc:masterfrom
Conversation
|
|
aae066c to
74e8760
Compare
|
|
y-zeng
left a comment
There was a problem hiding this comment.
This looks great. Thanks for adding these tests!
|
thanks for the review! also doing a late cc of @markdroth and @nicolasnoble, to boost awareness of this background test |
test/cpp/naming/gen_build_yaml.py
Outdated
There was a problem hiding this comment.
It would be really useful to have a stand-alone script that would convert a service config string in JSON form into the form needed for a DNS zone file (which is presumably the same form used in gcloud). This would be used by folks in the OSS world that want to encode the service config in their DNS server. Can you refactor this to provide such a utility?
Feel free to do this in a separate PR. It doesn't need to block this.
There was a problem hiding this comment.
SG, I think that gcloud has an alternate mode of uploading records that involves pointing it to a zone file, rather than specifying each record via command line parameters. I might try changing this around to use such a JSON -> TXT script a part of creating a zone file.
74e8760 to
9798042
Compare
|
|
9798042 to
9e3a76b
Compare
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
just rebased on lastest master and fixed an issue with the template (previously |
|
|
|
CLAs look good, thanks! |
|
This is a redo of #12010, now using the infrastructure added in #12210.
This adds a "background job" that tests c-ares resolver against GCE DNS. It allows testing that c-ares interops with GCE DNS. IMO another benefit is it adds a sanity check that the local testing DNS server from #12210 is realistic.
This is running in an adhoc jenkins right now, in https://grpc-testing.appspot.com/job/gRPC_naming_adhoc/ (that job previously used by #12010).