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

Update version #1021

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Update version #1021

merged 2 commits into from
Nov 13, 2024

Conversation

tothszabi
Copy link
Contributor

Checklist

Version

Requires a PATCH version update

Context

The pipeline validation got tweaked a bit and will go out in this CLI version.

@@ -660,7 +660,7 @@ workflows:

warns, err := config.Validate()
if len(tt.wantWarns) > 0 {
require.Equal(t, tt.wantWarns, warns)
require.ElementsMatch(t, tt.wantWarns, warns)
Copy link
Contributor

Choose a reason for hiding this comment

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

Flaky test? 🥲

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep. All the test cases used a single item array so the Equal was fine. I added a new test case with two items and the original PR was green. Merged it and found out that you should not use Equal to compare arrays. 😄

@tothszabi tothszabi merged commit a854b48 into master Nov 13, 2024
5 checks passed
@tothszabi tothszabi deleted the bump-version-2.42.3 branch November 13, 2024 08:31
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.

3 participants