Skip to content

fix: e2e: retry kubectl wait for HCO CRD establishment to avoid nil-conditions race#95

Merged
tiraboschi merged 1 commit intoopenshift-virtualization:mainfrom
tiraboschi:e2e_flaky
Mar 5, 2026
Merged

fix: e2e: retry kubectl wait for HCO CRD establishment to avoid nil-conditions race#95
tiraboschi merged 1 commit intoopenshift-virtualization:mainfrom
tiraboschi:e2e_flaky

Conversation

@tiraboschi
Copy link
Collaborator

Improve the stability of e2e tests.

kubectl wait --for condition=established can fail immediately after apply if the CRD controller hasn't populated .status.conditions yet. Replace the single call with a retry loop that tolerates that transient error.

…onditions race

Improve the stability of e2e tests.

kubectl wait --for condition=established can fail immediately after apply
if the CRD controller hasn't populated .status.conditions yet. Replace the
single call with a retry loop that tolerates that transient error.

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
@tiraboschi tiraboschi merged commit c1a90de into openshift-virtualization:main Mar 5, 2026
5 checks passed
@tiraboschi tiraboschi deleted the e2e_flaky branch March 5, 2026 18:56
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.

1 participant