Skip to content
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:Cleanup to reduce test flakiness #11895

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

larry-safran
Copy link
Contributor

There is a possibility that when clusters are removed from a configuration, they can have their XdsClient subscriptions notified about being absent (since CDS is state of the world) which generates a callback to doesNotExist. If this happens before the CdsWatcher object is cancelled, then a new XdsConfig is sent which has those clusters marked as being in error (Status rather than value). The tests need to just ignore those updates.

…the final result will be sent since depending on timing there may be configs sent for clusters being removed with their entries as errors.
@larry-safran larry-safran requested a review from ejona86 February 13, 2025 23:45
@larry-safran larry-safran merged commit 41dd0c6 into grpc:master Feb 14, 2025
15 of 16 checks passed
@larry-safran larry-safran deleted the cancel_watcher branch February 14, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants