New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add integration test to create and deploy of example application #750
Comments
Considering this as a first call for s2i ruby-ex example application deployment, the basic scenario steps would be like
However here the problem is with the readiness of the deployment environment. So sleep is added before each scenario steps to handle the readiness. IMO this is not the efficient way to handle this. There should be a better way to handle readiness. For initial implementation considering sleep as a solution, then adding sleep time amount will be a challenge. For example : Just after Now the question is how much sleep time we should put before each step to make the whole deployment ideal/optimized wrt sleep time. This scenario i have executed successfully.
Please share your thoughts |
Then we should add the OpenShift part right before "Stopping minishift" scenario, so previous scenarios will make some time for oc, but still it won't go under 100sec I guess. Other sleeps seem to be quite short.
Would be nice to come up with some try-retry(-timeout) concept, but right now I am not sure how to design it well so we won't repeat ourself in each step definition. Only idea I have right now is to create a step definition with match |
@agajdosi for #774, same function implimentation |
Merged via pull request #796 |
As discussed in #548 we need to test basic functionality and usage of OpenShift as part of quick smoke test which basic.feature is going to be.
Simple plan for this issue is to make sure with integration tests that an example application can be deployed on OpenShift. However it will be good to further expand this plan by more scenarios - check that application can be deleted, etc.
The text was updated successfully, but these errors were encountered: