summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/volume/v3
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the changes of os.environ in functional testsRui Chen2017-07-206-40/+17
| | | | | | | | | | | | Use fixtures to restore the API version changes of os.environ in each functional tests, aims to avoid the following test cases failing in unexpected context. And make sure setUpClass/tearDownClass call super class's corresponding methods first. Change-Id: Ie248fe9d3a9e25f1b076c9f2c363200f29a83817 Closes-Bug: #1696080
* volume functest: ensure snapshots deleted when volume deleteAkihiro Motoki2017-06-061-2/+2
| | | | | | | | | | | | | Deleting snapshot may take time. The current volume API does not allow to delete volumes with snapshots, so if deleting snapshot may take time, a delete request for a parent volume will fail. This sometimes causes functional test failures in slow environments. wait_for_status() checks whether volume status is in error statuses but previously the expected error status was wrong. Cinder API uses lower case as volume status, so it did not work expectedly. Change-Id: I095894ba39f23bf81d71351818d24dbb5ca459fb
* Fix volume qos spec listDean Troyer2017-04-281-1/+2
| | | | | | | | | | | | | | | This has been sporadically failing in functional tests due to the way the volume qos spec list command calls get_associations() for each spec. When tests run in parallel occasionally a spec from another test is present in the list returned and is deleted before the get_associations() call is made, causing a NotFound exception. We should just keep going when this occurs. * make v1 match v2 * add tests to ensure the exception is being caught and handled Closes-Bug: #1687083 Change-Id: If2d17c1deb53d293fc2c7f0c527a4e4ef6f69976
* Add Cinder v3 client support for volumesJustin A Wilson2017-02-207-0/+139
Initial Cinder v3 support Change-Id: Idd5074832e80697ed0671f06d3291dfd92dbfb08