Tests for Volume Code.
Bases: nova.test.TestCase
Base Test class for Drivers.
Bases: nova.tests.test_volume.DriverTestCase
Test Case for ISCSIDriver
Bases: nova.tests.test_volume.DriverTestCase
Test case for VolumeDriver
Test deleting a busy volume.
Bases: nova.test.TestCase
Bases: nova.test.TestCase
Test Case for volumes.
Test begin_detaching and roll_detaching functions.
Test snapshot can be created and deleted.
Test volume can’t be deleted in invalid stats.
Test snapshot can be created and deleted.
Ensure multiple concurrent volumes get different targets.
Test snapshot can be created and deleted.
Test volume can be created and deleted.
Test volume can be created and deleted.
Test snapshot in use can be created forcibly.
Verify that an image which is exactly the same size as the volume, will work correctly.
Verify that create volume from image, the volume status is ‘downloading’.
Verify that before copying image to volume, it is in available state.
Verify that before copying image to volume, it is in downloading state.
Verify that an image which is too big will fail correctly.
Test volume can be created from a snapshot.
Test volume creation with int size.
Test volume creation with string size.
Ensure create volume generates appropriate usage notification
Test snapshot can be created and deleted.
Test volume survives deletion if driver reports it as busy.
Test volume can be forced to delete.
Make sure volume can be attached and detached from instance.
Ensure failure if a too large of a volume is requested.