-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: enable XDS federation by default #6151
Conversation
defer func() func() { | ||
oldEnv := envconfig.XDSFederation | ||
envconfig.XDSFederation = true | ||
envconfig.XDSFederation = false |
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.
Should we fix the failing test instead of disabling federation for the duration of this test?
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.
Sorry I might be reading this wrong - this should only be disabling federation for the duration of the one test case that explicitly disables it, no?
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.
Oh sorry, I missed the if !tt.env
.
Can we simplify this by getting rid of the if !tt.env
?
oldEnv := envconfig.XDSFederation
envconfig.XDSFederation = tt.env
defer func() { envconfig.XDSFederation = oldEnv }()
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.
done
Thanks for the review @easwars. Please merge if this looks good to you (I don't have write access) |
Integration tests have been green, so let's enable this (verification of recent test results in https://b.corp.google.com/issues/262593165#comment31).
cc @easwars
RELEASE NOTES: