[Feature Request] Tests which require specific features should not deploy those features

Bug #1896271 reported by Alexander Balderson
10
This bug affects 2 people
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_at_rest.

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.

George Kraft (cynerva)
Changed in charmed-kubernetes-testing:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.