[Feature Request] Tests which require specific features should not deploy those features
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There are a few tests from the validation suite which require additional applications such as test_keystone and test_encryption
Currently these tests deploy the required resources, then run the test, then tear them down.
There are certainly a number of reasons why this is dangerous:
For example test_keystone deploys percona and keystone, but what if the user has keystone already deployed under a different name, and related to mysql-innodb (because they are using focal)
Or what if the users environment doesn't have the resources to add additional machines?
Generally these tests dont seem safe to run in production environments. It would be safer to check if these resources exist, and run the test if they do, otherwise pass the test.
Changed in charmed-kubernetes-testing: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |