summaryrefslogtreecommitdiffstats
path: root/tests/functional/common/gluster_stability
Commit message (Collapse)AuthorAgeFilesLines
* Reorder test files removing redundant dirsValerii Ponomarov2019-03-062-340/+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
* Use unique prefixes for test cases in 'test_gluster_services_restart.py'Valerii Ponomarov2019-02-261-5/+2
| | | | | | | | | | | | Right now, we use single prefix for all the test cases of 'test_gluster_services_restart' python test module. It is fragile approach, because if first test fails to delete heketi or gluster volume, then all other test cases fail too, but should not do it. So, use unique prefixes for each of the test cases in this module, to make failure be unique per test. Change-Id: I1cc68ffc0553f79d0b0623335a2aaf985feabade
* Merged HeketiBaseClass to BaseClassvamahaja2019-02-221-1/+1
| | | | | | | | | | | 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>
* Add CRS support to the 'restart gluster services' test casesValerii Ponomarov2019-02-081-50/+42
| | | | Change-Id: I40b7ea79d1f7dbc82db825f6ced4447a157361e6
* [RHGSQE-108] Removed polarion test case ID's and updated descriptionvamahaja2019-01-111-8/+6
| | | | | Change-Id: I9ab3c6bea56a02f76ce818ee095ffe4afc0e64c0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Refactor config optionsValerii Ponomarov2018-12-251-8/+8
| | | | | | | | | | | | | | | | | | | 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
* [CNS-1314][CNS-1285] Restart gluster block volumes and validatevamahaja2018-12-101-7/+130
| | | | | Change-Id: Ib7e3125e5120a91fe431816b33be4d4e6f15078e Signed-off-by: vamahaja <vamahaja@redhat.com>
* Cleanup and improve configurationValerii Ponomarov2018-11-271-8/+5
| | | | | | | | | | | | | | | | | 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-1393-1395] Restart gluster services then validate volumesvamahaja2018-11-052-0/+233
| | | | | Change-Id: I58f8628c352556ac30c31777707b52cc2aea48ac Signed-off-by: vamahaja <vamahaja@redhat.com>
* Revert "[CNS-1393][CNS-1394][CNS-1395] Add setUp & teardown functions for ↵vamahaja2018-10-012-155/+0
| | | | | | testcases" This reverts commit 0b6fcb9989287cc2748312dc59d52d38f7fda1ad.
* Revert "[CNS-1393][CNS-1394][CNS-1395] Restart glusterfs services test cases"vamahaja2018-10-011-321/+11
| | | | This reverts commit 014521179de579dc4744ab36efc0c2f8881e2f3c.
* [CNS-1393][CNS-1394][CNS-1395] Restart glusterfs services test casesvamahaja2018-09-301-11/+321
| | | | Change-Id: I0d2de16928de8a533745876094c673152012d812
* [CNS-1393][CNS-1394][CNS-1395] Add setUp & teardown functions for testcasesvamahaja2018-09-302-0/+155
Change-Id: I083b5b60917ec18c77357d615f33e963ee58efea Signed-off-by: vamahaja <vamahaja@redhat.com>