RedHat-SP-Security / tang-operator-tests

Upstream repository for tang-operator test suite
GNU General Public License v3.0
1 stars 1 forks source link

Include function to check state during some time #67

Closed sarroutbi closed 10 months ago

sarroutbi commented 10 months ago

Resolves: #66

sarroutbi commented 10 months ago

It is confirmed that, with this change, we are catching error on controller startup due to kube-rbac-proxy fail:

...
:: [ 10:59:45 ] :: [  BEGIN   ] :: Checking controller POD continues Running [10 secs.] :: actually running 'checkPodStateAndContinues Running 10 openshift-operators tang-operator-controller-manager-7974886b76-9s498'
:: [ 10:59:46 ] :: [   FAIL   ] :: Checking controller POD continues Running [10 secs.] (Expected 0, got 1)
...