list images test has image-creation dependency
Bug #1453265 reported by
Brian Rosmaita
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The following Images v2 API test:
tempest.
creates some images to use as part of the test. The test assumes that the Glance image upload capability is exposed to the user, but this may not be the case in a public cloud. This is a concern because the test is included among the DefCore tests. The key point is that this test should be focused on the ListImages functionality, not image creation.
To post a comment you must log in.
Test could be modified to check for existing glance images before performing the ListImages call. If images exist, then perform the list. If images do not exist, first create/load the images, then perform the list. This would allow the test to run against clouds that are already operational.