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

Fix upgrade testing #3364

Merged

Conversation

jaronoff97
Copy link
Contributor

Description: Fixes a bug in the upgrade testing that ran all the upgrades despite a version being set. This will now let us run each upgrades in isolation (future upgrades will not effect the current one.) i.e. a test for 0.9.0 would have to take 0.15.0 into account, this is no longer the case.

@jaronoff97 jaronoff97 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 17, 2024
@jaronoff97 jaronoff97 requested a review from a team as a code owner October 17, 2024 14:41
@@ -56,7 +55,9 @@ func Test0_104_0Upgrade(t *testing.T) {
t.Errorf("expect err: nil but got: %v", err)
}
assert.EqualValues(t,
map[string]string{},
map[string]string{
"feature-gates": "-component.UseLocalHostAsDefaultHost",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this should be present in 104 but gone in 105 :)

Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

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

Love it, thank you!!

@jaronoff97 jaronoff97 merged commit 868a65a into open-telemetry:main Oct 17, 2024
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants