summaryrefslogtreecommitdiff
path: root/functional/tests/volume
Commit message (Collapse)AuthorAgeFilesLines
* move all functional tests to tests moduleSteve Martinelli2016-09-0912-618/+0
| | | | | | | | | | | | | | functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
* Add support of setting volume's stateXi Yang2016-08-031-0/+7
| | | | | | | | | OSC does not support to set volume's state, this patch is going to add this functionality. Closes-Bug:#1535213 Change-Id: I5bc1c7e81b8ba61c37f4bfd209fc86c5857fb050 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
* Deduplicate get_opts methodsKyrylo Romanenko2016-07-057-36/+36
| | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* support multi-delete for volume-typeSteve Martinelli2016-06-202-0/+26
| | | | | | | | | Added the ability to delete multiple volume types at once. Note there are no unit tests exist for v1 volume-types, so instead a functional test was created. Partial-Bug: #1592906 Change-Id: I99f3f22901ab35252b91a3072b14de7d19cb17ca
* Fix volume functional testsRichard Theis2016-06-158-13/+40
| | | | | | | | | | | | | | | The volume v2 functional tests occasionally fail with "unrecognized arguments: --private". This appears to occur when volume v1 and volume v2 functional tests are run at the same time when one or more of the tests do not set OS_VOLUME_API_VERSION appropriately. This patch also fixes a timing issue seen when running the tests locally due to a missing wait and moves the snapshot test to volume v2 since it was written for v2. Change-Id: I9c9863fe1aef81b0564920f36452c6f27211d5ba Closes-Bug: #1589793
* Add some functional tests for commands in VolumeV2Huanxuan Ao2016-05-232-0/+131
| | | | | | | | | | | | | | | VolumeV2 lacked functional tests for qos specs and volume type commands, so I add them. These tests are quite similar to those in v1,just three difference: 1.Importing functional.common.test instead of functional.tests.volume.v1.common 2.Adding test_volume_type_set_unset_project() in test_volume_type.py. 3.Adding a test for "qos unset" command in test_qos.py Change-Id: Ic50e8c49ef01ac967c01ec41fb3f04cd51fea9e4
* Fix wrong attribute name and add functional test for --snapshotJirayut Nimsaeng2016-04-151-2/+52
| | | | | Change-Id: I91f2091ef06a55bcf5373d1beeea2dd81e9f1334 Closes-Bug: #1567895
* Add functional tests for "volume" commands v2Tang Chen2016-02-212-0/+80
| | | | | | | | | | The tests for v2 "volume" commands are quite similar to v1. This patch also map 'metadata' to 'properties', 'volume_type' to 'type' to align to the v1 output. Change-Id: Icf2c5463b186fc78c890ccd96453090c4a2c2eb6 Partial-bug: #1519503
* Add functional tests for snapshotsTerryHowe2016-02-051-0/+82
| | | | Change-Id: I863583d6c8263d144d45a0443fc6af04301d23e7
* unwedge the gateSteve Martinelli2015-10-081-0/+2
| | | | | | | devstack defaults to v3 and makes some janky assumptions in the generated rc files Change-Id: I4b0b3eb6ab2aa9be2ac4c2404b2f9655e3ed564e
* Add functional test for volume type create --propertyRobert Francis2015-08-051-7/+11
| | | | | | | Combine test_volume_set_one_propety and test_volume_type_set_unset_properties. Change-Id: Ia8862a59161f6a15880b87ea305fb5bb15c31300
* Added a new function test for volume type setJP Parkin2015-08-031-2/+13
| | | | | | | This is a new test to validate the setting of one property for an existing volume type Change-Id: Ia9a7d86ce9b0d8df9d64ddc1df2d443843bba5ef
* Merge "Removed unnecessary assignment of function result Joined lines together"Jenkins2015-08-011-4/+2
|\
| * Removed unnecessary assignment of function resultJoe Wigglesworth2015-07-311-4/+2
| | | | | | | | | | | | Joined lines together Change-Id: Iffe19c309369301137cfd52c8ea1aa988ce39f7e
* | Merge "Added test for `volume type show`"Jenkins2015-07-311-0/+5
|\ \
| * | Added test for `volume type show`Kenneth Chu2015-07-301-0/+5
| |/ | | | | | | Change-Id: I05bbbdd8389f57d567b02391cbbc52448a9a2e7a
* | Set OS_VOLUME_API_VERSION before running functional testsSteve Martinelli2015-07-303-4/+27
|/ | | | | | For v1 functional tests, set the env. var. Change-Id: I6c554932bdb8f99438d4f2ae855eb16c5bb3a357
* Add functional tests for volume type listRadu Mateescu2015-07-291-0/+40
| | | | | | add tests for `os volume type list` Change-Id: Icd874b9cfac9376cc410041806fac64f1ff0c59d
* Add functional tests for volume qosTerryHowe2015-07-171-0/+54
| | | | Change-Id: I80010b56b399bc027ac864304be60a3ee53bda00
* Add functional tests for volume set sizeTerryHowe2015-06-111-0/+7
| | | | Change-Id: Ie369c6366e1d0632ab1892fd019f5b12528c195b
* Add functional tests for volume set and unsetTerryHowe2015-06-031-1/+27
| | | | | | | Add functional tests for volume set and unset for metadata and resource values. Change-Id: Ief07fc5c480608bb900d55df935b89c503609c80
* Add volume functional testsTerryHowe2015-06-013-0/+45
Change-Id: I8e12837fb22cabeabf1cde341324927cc6ee0252