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

xdsclient: make watch timer a no-op if authority is closed #6502

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Aug 3, 2023

This fixes a test flake where the timer fires after the authority is closed and the test is done, and leads to a log message being thrown after the test completes. And this races with the test logger being set on the top-level test object.

RELEASE NOTES: none

@easwars easwars requested a review from arvindbr8 August 3, 2023 17:52
@easwars easwars added this to the 1.58 Release milestone Aug 3, 2023
Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks for fixing this.

@arvindbr8 arvindbr8 assigned easwars and unassigned arvindbr8 Aug 4, 2023
@easwars easwars merged commit 28ac6ef into grpc:master Aug 4, 2023
1 check passed
@easwars easwars deleted the xdsclient_authority_timer_callback branch August 4, 2023 17:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants