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

Wait for rollout #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Wait for rollout #260

wants to merge 1 commit into from

Conversation

Starefossen
Copy link
Member

@Starefossen Starefossen commented Dec 11, 2023

Wait for rollout to complete before checking connection to Unleash. This prevents false positives when Unleash CRD is reporting success due to it checking the old replica.

Close #193

@Starefossen Starefossen marked this pull request as ready for review December 30, 2023 16:04
@Starefossen Starefossen requested a review from a team as a code owner December 30, 2023 16:04
Copy link
Contributor

@Reasonable-Solutions Reasonable-Solutions left a comment

Choose a reason for hiding this comment

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

lgtm.

if err != nil {
return ctrl.Result{}, err
statusErr := r.updateStatusConnectionSuccess(ctx, unleash, stats)
if statusErr != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

if statusErr := .... ; statusErr != nil {...}
?
That refactor happend on line 300 so maybe it applies here to?

@Starefossen Starefossen mentioned this pull request Jul 13, 2024
2 tasks
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.

Connection tests does not wait for rollout to complete
2 participants