summaryrefslogtreecommitdiffstats
path: root/tests/functional/common/provisioning/test_storage_class_cases.py
Commit message (Collapse)AuthorAgeFilesLines
* Reorder test files removing redundant dirsValerii Ponomarov2019-03-061-260/+0
| | | | | | | | | | Move all the files of 'tests/functional/common/' dir to the 'tests/functional/', because 'common' is the only dir there, which doesn't really makes sense. Do the same about 'tests/functional/common/heketi/heketi_tests' and 'tests/functional/common/heketi/'. Change-Id: I1fa55e2e7bf09e9b9115629b06e1fd160e291a36
* Add tc creating and verifying pvc with volname prefix on an app podroot2019-03-051-0/+14
| | | | Change-Id: I519ce5c26f7bd6480a48512744626ba812524413
* Merged HeketiBaseClass to BaseClassvamahaja2019-02-221-2/+2
| | | | | | | | | | | Renamed cns_baseclass.py to baseclass.py with updated BaseClass. Merged HeketiBaseClass to BaseClass with appropriate changes. Updated delete_volumes and delete_block_volumes methods used in test case method with heketi_delete_volume and heketi_blockvolume- delete. Change-Id: I8f623f1692cd863dc8ff041f7e8525ee0dc84f7b Signed-off-by: vamahaja <vamahaja@redhat.com>
* [RHGSQE-108] Removed polarion test case ID's and updated descriptionvamahaja2019-01-111-13/+13
| | | | | Change-Id: I9ab3c6bea56a02f76ce818ee095ffe4afc0e64c0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Refactor config optionsValerii Ponomarov2018-12-251-5/+5
| | | | | | | | | | | | | | | | | | | Doing following: - Rename top-level config option group called 'cns' to the 'openshift'. - Rename 'cns.setup.cns_project_name' option to the 'openshift.storage_project_name'. - Rename 'scale' option to the 'openshift.scale'. - Delete ''devices' and 'zone' options from 'gluster_servers' config group. - Delete 'cns.setup.cnd_username' option as unneeded. - Delete 'cns.setup.cnd_password' option as unneeded. - Delete 'oc_login' common function as unneeded after deletion of 'cns.setup.cnd_username' and 'cns.setup.cnd_password' options. - Remove 'Cns' word from base classes. - Keep backwards compatibility for old options to make transition be smooth. Change-Id: I04ddbbad5f64ffeac79a6744480d33a263d63001
* Make 'test_storage_class_cases' module support standalone GlusterValerii Ponomarov2018-12-101-3/+3
| | | | | | | | | | By doing following updates: - Add and reuse lib function which calculates amount of Gluster PODs or Gluster nodes. - Make 'get_gluster_blockvol_info_by_pvc_name' lib func support standalonge Gluster clusters in addition to the 'containerized' ones. Change-Id: I6a12bb4c30b1e6f8698a614abefc248149773302
* Cleanup and improve configurationValerii Ponomarov2018-11-271-8/+16
| | | | | | | | | | | | | | | | | Our config file has dead options as well as unintuitive option names. So, do following improvements: - Delete unused config options from config file example. - Delete setting of dead config options to the base class. - Rename 'storage_class1' and 'storage_class2' config option groups to the 'file_storage_class' and 'block_storage_class' respectively to make it more understandable. - Remove 'secrets' config option group as redundant. Secret names get calculated from custom prefix and randomly generated string. Namespace is used the same as for storage classes. And its 'type' was always storage class's provisioner value. Change-Id: Ifa6d0ab430e8d69591f49bc7bf4c258151662550
* [CNS-544][CNS-545] Added test cases for storage class parametersvamahaja2018-11-021-5/+148
| | | | | Change-Id: Iae63d250d4e0277ee7559e73df6114faf918c283 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [CNS-921] Try to create PVC with underscore in the vol name prefixValerii Ponomarov2018-10-291-1/+2
| | | | | | | Add test case which checks that we are not able to create PVC which has underscore symbol ("_") in the custom volume name prefix. Change-Id: I24aa3918371627df890c3996da36d8931d01dd3c
* CNS: adding testcases for storage class blockApeksha D Khakharia2018-10-271-38/+63
| | | | | | | CNS-725, 727, 728 Change-Id: I6fb8858c018f02b06cd6d011cb01939505de6d19 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* CNS: moving libraries from dynamic_provsioning.py to openshift_ops.pyApeksha D Khakharia2018-10-101-3/+1
| | | | | Change-Id: I84b0399bad021fed29044c1946fdf27cccc2b6c8 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* CNS: adding testcases for storage classApeksha D Khakharia2018-09-061-0/+71
CNS-708,709,713,714,715 Change-Id: I61965e6d8b17b4bb49b10ebe26140945da9c4576 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>