Skip to content

fix(test): make cni-repair-controller test more resilient#775

Merged
alpeb merged 1 commit into
mainfrom
alpeb/repair-controller-test-fixup
Jun 30, 2026
Merged

fix(test): make cni-repair-controller test more resilient#775
alpeb merged 1 commit into
mainfrom
alpeb/repair-controller-test-fixup

Conversation

@alpeb

@alpeb alpeb commented Jun 30, 2026

Copy link
Copy Markdown
Member

The test was failing when deploying the pause DS and immediately checking for its readiness, as the kube-api didn't have time to acknowledge the existence of that workload. Added a loop around that, as well as homogenizing the last for loop checking for DS replica replacement.

The test was failing when deploying the pause DS and immediately
checking for its readiness, as the kube-api didn't have time to
acknowledge the existence of that workload. Added a loop around that, as
well as homogenizing the last for loop checking for DS replica
replacement.
@alpeb
alpeb requested a review from a team as a code owner June 30, 2026 21:11

@raykroeker raykroeker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If the pause-app never meets the ready condition, what if anything times out the wait loops?

@alpeb

alpeb commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

If the pause-app never meets the ready condition, what if anything times out the wait loops?

The repair-controller job has a timeout of 15m

@alpeb
alpeb merged commit df433ed into main Jun 30, 2026
13 checks passed
@alpeb
alpeb deleted the alpeb/repair-controller-test-fixup branch June 30, 2026 21:41
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.

2 participants