OpenShiftAssistant awaitApplicationReadinessOrFail wrong pod #1011
I am manually deploying an application using OpenShiftAssistant.
I am using this simple code to deploy next wait:
After the call of the method awaitApplicationReadinessOrFail the postgresql app pod must be running.
After the call of the method awaitApplicationReadinessOrFail the postgresql app pod is in the state Pending.
Steps To Reproduce
Don't have the image pulled. (In this case the status of postgresql-1-XXXX is defined to Container creating and postgresql-1-deploy is defined to Running)
When I deploy my app two pods are processing :
The method awaitApplicationReadinessOrFail check pods starting with postgres and return true (so done) when one his running. However at this time two pods are founds and the deployed one is running. So I guess you could have a filter to check that the name don't end with deploy to check the status on the expected pod.
The text was updated successfully, but these errors were encountered: