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

[chore] Fix featuregate usage in controller tests #3490

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

swiatekm
Copy link
Contributor

We haven't been unsetting feature gates in controller tests after ending the test, leading to them being enabled for the duration of the test suite. In one case, a test actually depended on this fact, and I needed to set the gate in it explicitly.

@swiatekm swiatekm requested a review from a team as a code owner November 24, 2024 17:49
We haven't been unsetting feature gates in controller tests after ending
the test, leading to them being enabled for the duration of the test
suite. In one case, a test actually depended on this fact, and I needed
to set the gate in it explicitly.

Also switched to use the gates explicitly vs parsing flags.
@swiatekm swiatekm force-pushed the test/fix-featuregate-usage branch from 06a3156 to df431ac Compare November 25, 2024 15:22
@swiatekm swiatekm merged commit 3d254a4 into open-telemetry:main Nov 25, 2024
38 checks passed
@swiatekm swiatekm deleted the test/fix-featuregate-usage branch November 30, 2024 18:40
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