openshift-kni / eco-goinfra

Apache License 2.0
6 stars 32 forks source link

cgu: add wait for condition and unit tests #474

Closed klaskosk closed 2 weeks ago

klaskosk commented 2 weeks ago

In TALM and ZTP test cases there are many scenarios where we are waiting for a CGU to be in some condition. WaitForCondition generalizes these cases (and the existing WaitUntilComplete) into a single function. Unit tests have been added for WaitForCondition as well as the existing WaitUntilComplete.