553d91b51e
This reverts change I98a75cbf119ba8126253a681c046f4cf44b1607e. Volume backup tests create a container when Swift is used as a backup driver. This causes a failure of an object storage test [1] as it expects no containers being present before the testing. This patch fixes the cleanup by deleting properly the containers created during the volume backup tests. Before the deletion we check using a new tempest.conf option whether swift is used as a backup driver. This patche also un-skips the test_volume_backup_create_get_detailed_list_restore_delete test as the patch ensures that we do not use the container parameter in the API call when Swift is not used as a backup driver. [1] https://opendev.org/openstack/tempest/src/tempest/api/object_storage/test_account_services.py#L67 Closes-Bug: #2034913 Change-Id: I33ba1838bf0bfcf94424e7288249dae3feeeb2a2
8 lines
273 B
YAML
8 lines
273 B
YAML
---
|
|
features:
|
|
- |
|
|
A new tempest.conf option called backup_driver was added to tempest to
|
|
indicate which backup driver is used by Cinder. This option allows us
|
|
to create a resource properly and avoid cleanup issues when Swift is used as the
|
|
backup driver.
|