Closed prashanth26 closed 5 years ago
After having a follow up discussion on this topic. The following were the notable points in the discussions.
Going with improving existing smoke tests seems to be the simpler idea as long as we are able to clean up the resources properly.
Clean up could be provider specific as each provider needs to be handled differently for cleanup.
Different options to be considered while cleanup are (action items to me) -
Multiple levels of integration tests - Where a basic integration (probably that tests only one CP) test would run on every PR. Before every release a more advanced integration test can be run that covers all providers and kubernetes versions.
The above step could be further simplified by using two different flags to differentiate these test levels. This would require changes in the test flags.
After doing a first round of analysis, here are my findings.
Resource groups
Account/Access-key specific cleanup
The way I see it, we have three options.
To me, 1 or 3 make sense. 2, not so much. What about everyone else?
After having an follow up offline discussion with @amshuman-kr. The following is our plan,
Objective
To have integration/smoke tests
Current state of smoke tests
We have integration tests written on bash (only for AWS) where we run a set of smoke tests like
Possible solutions moving forward
We have two options moving forward
Improve smoke tests
Things to consider
2. Mock API calls