-
Notifications
You must be signed in to change notification settings - Fork 3.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
xds: implement ignore_resource_deletion server feature #9339
Conversation
6866bf3
to
1b81cfd
Compare
1b81cfd
to
48f331c
Compare
48f331c
to
0f9fdd9
Compare
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.
The parameterization of the test is fine, but I do think we should strive to be able to remove it in the future. Just a few test cases should care about the bootstrap value, so we could just run some tests with a different bootstrap. (For the few tests impacted, we can parameterize manually by passing in a boolean argument.) We're going to have more of these sorts of bootstrap options over time and adding another test dimension each time will lead to pain. But this is fine now for expediency.
FYI @erikjoh |
As defined in the gRFC [A53: Option for Ignoring xDS Resource Deletion](https://github.com/grpc/proposal/blob/master/A53-xds-ignore-resource-deletion.md). This includes semi-related changes: * Refactor ClientXdsClientTestBase: extract verify methods for golden resources * Parameterize ClientXdsClientV2Test and ClientXdsClientV3Test with ignoreResourceDeletion enabled and disabled * Add FORCE_INFO and FORCE_WARNING levels to XdsLogLevel
As defined in the gRFC [A53: Option for Ignoring xDS Resource Deletion](https://github.com/grpc/proposal/blob/master/A53-xds-ignore-resource-deletion.md). This includes semi-related changes: * Refactor ClientXdsClientTestBase: extract verify methods for golden resources * Parameterize ClientXdsClientV2Test and ClientXdsClientV3Test with ignoreResourceDeletion enabled and disabled * Add FORCE_INFO and FORCE_WARNING levels to XdsLogLevel
Backported to |
As defined in the gRFC A53: Option for Ignoring xDS Resource Deletion.
Note for the reviewer: it'll probably be more convenient to review commit-by-commit. The test refactoring commit can be skipped: it's not required, but was very handy for implementing new tests, and modifying the old ones.