-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put dns_resolution_config field in dns_filter.proto as deprecated #18649
Put dns_resolution_config field in dns_filter.proto as deprecated #18649
Conversation
Signed-off-by: Yanjun Xiang <[email protected]>
For reviewers: The changes replaced dns_resolution_config with the newly added typed_dns_resolver_config. The reasons to not test both of them are:
|
/assign @yanavlasov @htuch |
/assign @suniltheta @jpeach |
neither of @suniltheta, @jpeach can be assigned to this issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/wait
Signed-off-by: Yanjun Xiang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor changes.
Signed-off-by: Yanjun Xiang <[email protected]>
Signed-off-by: Yanjun Xiang <[email protected]>
Thanks! Adding a new test like 2) make sense to me. Just pushed the new
changes to the PR.
…On Wed, Oct 20, 2021 at 12:25 PM Sunil Narasimhamurthy < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/extensions/filters/udp/dns_filter/dns_filter_test.cc
<#18649 (comment)>:
> @@ -2194,7 +2207,7 @@ stat_prefix: "my_prefix"
}
// test typed_dns_resolver_config exits which overrides dns_resolution_config.
-TEST_F(DnsFilterTest, TypedDnsResolverConfigExist) {
+TEST_F(DnsFilterTest, DEPRECATED_FEATURE_TEST(TypedDnsResolverConfigExist)) {
Sure, I get it now.
In future when we remove the support for deprecated field
dns_resolution_config we should not accidentally remove this test case
entirely.
I am thinking we can do 1 of these now:
1. Add a comment saying when we remove the support for deprecated
field dns_resolution_config entirely just remove the tag
DEPRECATED_FEATURE_TEST and remove dns_resolution_config from the yaml
config.
OR
2. Rename this existing test DEPRECATED_FEATURE_TEST
(TypedDnsResolverConfigExist) --> DEPRECATED_FEATURE_TEST
(TypedDnsResolverConfigOverrideDnsResolutionConfig). Add another unit
test with name TypedDnsResolverConfigExist where we don't include
field dns_resolution_config in the yaml.
What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18649 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZIHLGXH3BMSKMO4IT6IJTUH3UPVANCNFSM5GDX6EJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
/retest |
Retrying Azure Pipelines: |
/assign @mattklein123 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Problem Description:
This PR is the code changes to deprecate dns_resolution_config field in dns_filter.proto for issue: #18053. This is a follow up PR of #17479.
Solution:
Build:
passed
Testing:
passed
Release Notes:
N/A
Issues: deprecate dns_resolution_config #18053
Fix#18053
Signed-off-by: Yanjun Xiang [email protected]
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]