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

connectivity: Fix ineffective version check in BGP tests #2712

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

rastislavs
Copy link
Contributor

Multiple WithCondition statements were causing that only the last one was effective, making version checks ineffective. This combines the conditions into a single WithCondition statement per test.

Multiple WithCondition statements were causing that only the
last one was effective, making version checks ineffective.
This combines the conditions into a single WithCondition
statement per test.

Signed-off-by: Rastislav Szabo <[email protected]>
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 24, 2024
Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

(I wonder if it's worth putting some footgun check into WithCondition() to avoid this override, but we can follow up on that separately cc @cilium/cilium-cli-maintainers )

Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

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

filed #2713

@michi-covalent michi-covalent merged commit 48a912f into cilium:main Jul 24, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants