![Lukáš Piwowarski](/assets/img/avatar_default.png)
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
Team and repository tags
Tempest - The OpenStack Integration Test Suite
This is a set of integration tests to be run against a live OpenStack cluster. Tempest has batteries of tests for OpenStack API validation, scenarios, and other specific tests useful in validating an OpenStack deployment.
- Documentation: https://docs.openstack.org/tempest/latest/
- Features: https://specs.openstack.org/openstack/qa-specs/#tempest
- Bugs: https://bugs.launchpad.net/tempest/
- Release Notes: https://docs.openstack.org/releasenotes/tempest
Get in touch via email. Use [tempest] in your subject.
Description
Languages
Python
99.8%
Shell
0.2%