The heat_integrationtests.scenario.test_volumes Module¶
- 
class 
heat_integrationtests.scenario.test_volumes.VolumeBackupRestoreIntegrationTest(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.scenario.scenario_base.ScenarioTestsBaseClass is responsible for testing of volume backup.
- 
test_cinder_volume_create_backup_restore()[source]¶ Ensure the ‘Snapshot’ deletion policy works.
This requires a more complex test, but it tests several aspects of the heat cinder resources:
- Create a volume, attach it to an instance, write some data to it
 - Delete the stack, with ‘Snapshot’ specified, creates a backup
 - Check the snapshot has created a volume backup
 - Create a new stack, where the volume is created from the backup
 - Verify the test data written in (1) is present in the new volume
 
-