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

When controller does not start appropriately, test should fail, not warn about it #69

Closed sarroutbi closed 10 months ago

sarroutbi commented 10 months ago

When controller does not start appropriately, test should fail, not warn about it. Right now, it is dumping this:

:: [ 11:53:25 ] :: [   FAIL   ] :: Checking controller POD in Running [Timeout=120 secs.] and not in Error state (Expected 0, got 1)
:: [ 11:53:25 ] :: [  BEGIN   ] :: Checking controller POD continues Running [10 secs.] :: actually running 'checkPodStateAndContinues Running 10 openshift-operators tang-operator-controller-manager-7974886b76-fp
m5s'
:: [ 11:53:26 ] :: [   FAIL   ] :: Checking controller POD continues Running [10 secs.] (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 62s
::   Assertions: 10 good, 2 bad
::   RESULT: WARN (Setup)