Lukáš Piwowarski 553d91b51e Fix cleanup for object_storage tests
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
2023-10-09 07:28:50 +00:00
2021-02-09 22:33:47 +00:00
2019-04-19 19:29:35 +00:00
2018-09-05 08:45:46 +00:00
2023-02-23 10:28:08 +00:00
2012-04-12 16:04:36 +02:00
2019-09-11 16:42:28 +09:00
2023-08-22 19:02:50 -07:00

Team and repository tags

image

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.

Get in touch via email. Use [tempest] in your subject.

Description
OpenStack Testing (Tempest) of an existing cloud
Readme 247 MiB
Languages
Python 99.8%
Shell 0.2%