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 test that wasn't testing anything #1749

Merged
merged 3 commits into from
Aug 22, 2023
Merged

Conversation

jimmykarily
Copy link
Contributor

because it was returning success too early since the checks were too loose or even wrong.

E.g. we didn't even wait for the Pods to be ready (wrong test condition) and we only tested that there is a "v" in the version which was true even before the upgrade.

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

because it was returning success too early since the checks were too
loose or even wrong.

E.g. we didn't even wait for the Pods to be ready (wrong test condition)
and we only tested that there is a "v" in the version which was true
even before the upgrade.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@jimmykarily jimmykarily requested a review from a team August 21, 2023 11:41
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@jimmykarily jimmykarily self-assigned this Aug 21, 2023
and read the test version from the yaml

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Copy link
Member

@mauromorales mauromorales left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@Itxaka Itxaka left a comment

Choose a reason for hiding this comment

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

nice catch!

@jimmykarily jimmykarily merged commit ab6ddab into master Aug 22, 2023
21 checks passed
@jimmykarily jimmykarily deleted the fix-invalid-e2e-test branch August 22, 2023 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants