Skip to content

xds:Cleanup to reduce test flakiness#11895

Merged
larry-safran merged 2 commits intogrpc:masterfrom
larry-safran:cancel_watcher
Feb 14, 2025
Merged

xds:Cleanup to reduce test flakiness#11895
larry-safran merged 2 commits intogrpc:masterfrom
larry-safran:cancel_watcher

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
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants