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

ci/cli: fix sporadic error in WaitCluster #1076

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

ldevulder
Copy link
Contributor

@ldevulder ldevulder commented Nov 2, 2023

Not a good idea to check error value inside an Eventually, better to loop until the condition is met or wait for timeout.

Verification run:

NOTE: VR is failing for another issue not related to this PR. The code changed here has been validated in the master node deployment.

@ldevulder ldevulder requested a review from a team as a code owner November 2, 2023 09:19
@ldevulder ldevulder self-assigned this Nov 2, 2023
@ldevulder ldevulder changed the title ci/cli: fix sporadic error in WaitCLuster ci/cli: fix sporadic error in WaitCluster Nov 2, 2023
Not a good idea to check error value inside an `Eventually`, better to
loop until the condition is met or wait for timeout.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
@ldevulder ldevulder force-pushed the ci-fix-sporadic-get-cluster-error branch from cfc0fcd to e54725a Compare November 2, 2023 09:45
@ldevulder ldevulder merged commit fa8f193 into main Nov 2, 2023
@ldevulder ldevulder deleted the ci-fix-sporadic-get-cluster-error branch November 2, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants