summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_storage_class_cases.py
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix] Add config to read i/o imagesvamahaja2020-12-081-1/+2
| | | | | | Add support to pass I/O image from config file Change-Id: I2c943ba0efaeab3a44eef63030965f36f8086c1b
* [Test] Add TC to check weak permissions on config filesSri Vignesh2020-11-201-0/+63
| | | | | Change-Id: I496844801222ab8e1c1f570d5aad5a84a5896232 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix][Tier2] Update pytest marker for 'tier2' testsvamahaja2020-10-121-6/+6
| | | | | Change-Id: I5db480da820c82b7b15f90ed70a4f60643079cb0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier1] Move 'tier0' tests to 'tier1'vamahaja2020-10-121-4/+4
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier1 test casesvamahaja2020-03-171-0/+6
| | | | | Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier0 test casesvamahaja2020-03-131-0/+5
| | | | | Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
* Make 'provisioner' be autocalculated for storage classesValerii Ponomarov2019-10-311-1/+1
| | | | | | | | | | | | | | | In OCS 3.11.4 was changed the approach for 'provisioners' in storage classes due to the BugZilla bugs [1] and [2]. So, change the approach for getting 'provisioner' value in this project making it be autocalculated based on the data taken from the block provisioner pod, which is located in the working namespace. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1732787 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1738394 Change-Id: Ic1037038e39abba2b2a1ad6dc3ddbfe42473cb88 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix raise exception for test case test_sc_glusterfile_missing_parametervamahaja2019-10-031-1/+2
| | | | Change-Id: I81f827f04d8795cb1821d796418cf61578dde037
* Add testcase for passing clusterid when creating storage classAshmitha2019-09-181-0/+26
| | | | Change-Id: I4a6fd02f5713b4e86a9d70cdaffd3ca9369932f4
* Add TC missing parameters in SCNitin Goyal2019-09-161-0/+30
| | | | | | | Add new TC missing parameters for file storage class and verify PVC pending state. Change-Id: Ibd8f418934da261058adb4127e60f85465a5ef75
* Add test case to try creation of storage class with duplicate nameAshmitha2019-09-121-1/+10
| | | | Change-Id: If30737958bc667264fc01fe81d411f406b501918
* Fix pep8 errors in the files of the 'tests' dirValerii Ponomarov2019-08-301-5/+5
| | | | Change-Id: I26c750c68055c6cc50de8015942d0d9725819aaf
* Fix test cases skipped due to closed bugsvamahaja2019-08-191-5/+10
| | | | | | | | Add fix to test cases which are skipped due to bugs - BZ-1644685, BZ-1652913, BZ-1634745, BZ-1635736, BZ-1636477, BZ-1641668 Change-Id: I03a7f7dddaba5d3e41770969352b2263c84cb920 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add OCS 3.9 version check for test cases which uses multipath validationvamahaja2019-08-141-0/+36
| | | | | Change-Id: I5bb2760ff284cdc83424388bfdfc79d5fd112f21 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix test case for create and verify pvc with volname prefixcrombus2019-07-221-0/+8
| | | | | | Add steps to verify endpoints Change-Id: Ibf09e8f0e2cefb0d45755225c051f2a11fe43860
* Add TC create SC with invalid clusterid for block and file volumesArun Kumar2019-06-261-0/+2
| | | | | | | Create storage class one for file and one for block volumes with invalid clusterid. Create PVC from those SC's and it should not go in bound state Change-Id: I73848a4e213cc34e374eddbe0eb27d3e35e27d71
* Make 'validate_multipath_pod' func raise exceptions in case of errorsValerii Ponomarov2019-05-281-6/+36
| | | | | | | | | Now, this function hides info about the real problem which caused error So, make it raise exceptions in place with info about error for ease of debugging. Also, fix it's usage providing mpath always. Change-Id: I8cbc62a12f3999e3d64fb6b504865f30b1602cf1
* Fix support of OCP3.6 and 3.7Valerii Ponomarov2019-04-111-0/+6
| | | | | | | Project has lots of inconsistencies with OCP3.6 and 3.7 So, fix it. Change-Id: I8d38773637b779e1c2e1631568f100c1ab1fdd50
* Unskip 'test_gluster_block_provisioning_with_valid_ha_count' tcValerii Ponomarov2019-03-181-1/+0
| | | | | | Because BZ-1609703 was fixed. Change-Id: I86e7690e8a190d9f913fb0140780a0bcbcce1e72
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-5/+5
| | | | | | | | | | | | Move all the files of 'cns-libs/cnslibs/common' dir to the 'openshift-storage-libs/openshiftstoragelibs', because 'common' is the only dir there, which doesn't really makes sense. And "cns" is old project name, so, replace it with "openshift-storage-libs". Also, fix all the imports of these libs. Change-Id: Ife00a73554e73b21b214b15016b0c8dbbf423446
* Reorder test files removing redundant dirsValerii Ponomarov2019-03-061-0/+260
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