-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.14.z, 4.15, 4.16, 4.17, 4.18.z, 4.19.0
-
None
Description of problem:
The status controller creates a ClusterOperator when one does not exist. In the test case verifying behavior with an already present ClusterOperator, it is requried to wait until the ClusterOperator created by the test is ready. Failing to do so can result in the controller attempting to create a duplicate ClusterOperator, causing the test to fail with an "already exists" error.
Version-Release number of selected component (if applicable):
How reproducible:
Sometimes, race condition
Steps to Reproduce:
1. Run ci/prow/unit presubmit job
Actual results:
Test fails with: clusteroperators.config.openshift.io \"machine-approver\" already exists",
Expected results:
Test passes
Additional info:
Unit test only issue. No custommer impact.
- blocks
-
OCPBUGS-48081 unit test race conditon in cluster operator status controller
- Verified
- is cloned by
-
OCPBUGS-48081 unit test race conditon in cluster operator status controller
- Verified
- links to