summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_dynamic_provisioning_block.py
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix][Tier4] Add pytest marker for 'tier4' testsvamahaja2020-10-121-1/+1
| | | | | Change-Id: I3c331883aff037116d3680649c29a39a266b0684 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier3] Add pytest marker for 'tier3' testsvamahaja2020-10-121-4/+4
| | | | | Change-Id: Idd21f2d0cfb2a1171e4e8464646684ac9164ad0e Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier2] Update pytest marker for 'tier2' testsvamahaja2020-10-121-4/+4
| | | | | Change-Id: I5db480da820c82b7b15f90ed70a4f60643079cb0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier1] Move 'tier0' tests to 'tier1'vamahaja2020-10-121-7/+7
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Increased timeout for wait for events libSri Vignesh2020-08-181-1/+2
| | | | | | | | | TC is failing with error during pvc create timeout and wait for event steps with race condition. increased timeout to fix this issue. Change-Id: I8f64dcf7ab6cbfa0087b329b05a23a212572190e Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to create and delete block PVC twiceArun Kumar2020-05-151-0/+33
| | | | | Change-Id: Iba3a4947ef3654fb92bcc05f750f3aae11ffb7a2 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Remove extra statement which is not required for the TCArun Kumar2020-04-291-3/+0
| | | | | Change-Id: I5863bcad3003725b60012dc8288f7ac1a3675d3c Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix gluster-block log file pathvamahaja2020-04-241-4/+1
| | | | | Change-Id: I2241088612178afc1be188149e97b9951e07efc1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier2 test casesvamahaja2020-03-311-1/+1
| | | | | Change-Id: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC create block vol of size greater than free space in BHVrachael-george2020-03-231-0/+62
| | | | | Change-Id: Ie44ec19689c0a28864dbd681a403a4cddcd9ffc3 Signed-off-by: rachael-george <rgeorge@redhat.com>
* [TestFix] Remove skip marker for bug bz-1714292vamahaja2020-03-231-4/+1
| | | | | Change-Id: I51d6e8ce22e90668582f5b8403f6024c6027b7d7 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Fix tier0 & tier1 mark for tcsvamahaja2020-03-231-1/+1
| | | | | Change-Id: I245d2915d30a42c83a4f4ac12f8f7a23cb4888ee Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier1 test casesvamahaja2020-03-171-0/+8
| | | | | Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier0 test casesvamahaja2020-03-131-0/+7
| | | | | Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add cleanup after PVC creationadityaramteke2019-11-291-0/+2
| | | | | | | Cleanup function was missing after creation of PVC in test_creation_of_pvc_when_one_node_is_down TC. Change-Id: I9077f9f58248a8a08a236f7a50f1917c96181fd9
* Add test for creation of PVC when one node downadityaramteke2019-11-271-2/+55
| | | | | | | The purpose of this test case is to confirm that provisioning succeeds if at least 3 nodes are UP in a CNS cluster with nodes >3. Change-Id: I7fc1f851114d921f65e819db23502776526e6827
* Add tc where targetcli fails during block PVC creationValerii Ponomarov2019-11-221-0/+127
| | | | | | | Add tc where we simulate targetcli failure in parallel to the block PVC creations. Change-Id: I6f94079593d8ff978c321b64729b4c0b67810c23
* Add CRS support for test cases by using node rebootvamahaja2019-09-031-30/+47
| | | | | Change-Id: Icdbb3a626d96c1f762f5616623ea6bc99d56ef3c Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix pep8 errors in the files of the 'tests' dirValerii Ponomarov2019-08-301-5/+4
| | | | Change-Id: I26c750c68055c6cc50de8015942d0d9725819aaf
* Workaround BZ-1727360 in the "get_gluster_pod_names_by_pvc_name" funcvamahaja2019-08-071-1/+1
| | | | | | | | | | "get_gluster_pod_names_by_pvc_name" function depends on the ocp3.11 specific shell command, which fails on old OCP versions. So, fix it by getting info in compatible way. Also, update usages of this function with new return data structure. Change-Id: Ibb8559590a1288c032630b3292f631d28bc87263 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Separate out gluster-block stability TCNitin Goyal2019-07-051-145/+0
| | | | | | | move gluster-block stability TC to new module named 'gluster_stability/test_gluster_block_stability.py'. Change-Id: Iac1f432e438a2815bdc2115ab19e0170e46930c1
* Restructure "initiator_side_failures" class instance methodNitin Goyal2019-06-241-60/+60
| | | | | | | Restructure initiator_side_failures and make another function out of it which can be used for verification of iscsi and multipath at many places Change-Id: I6bc4b9e7679bee413d726be426df5796eaf97fc8
* Skip several test cases due to the open bug BZ-1714292Valerii Ponomarov2019-05-291-0/+4
| | | | Change-Id: I5cada2a8dff40516310de38e23b98de2a64efc11
* Pick up name of the glusterblock provisioner dc dynamicallyValerii Ponomarov2019-05-281-8/+10
| | | | | | | Instead of crafting it manually. It allows us to use both approaches from 'openshift-ansible' lib for naming of this dc - old and new ones. Change-Id: Iac4513a50de51aefd401d2af4c798366ec10b02a
* Add TC expansion of block hosting volume using heketiNitin Goyal2019-05-231-0/+80
| | | | | | | This TC verify the expanshion of BHV and after expanding volume verify that space is usable. Change-Id: I2621aedc1cbddcad374fe52013aba2d48acfd1e0
* Add TCs creation of block vol greater than default size of BHVNitin Goyal2019-05-031-1/+128
| | | | | | | The purpose of TCs is to validate that block device size cannot be more than the block hosting volume. Change-Id: I35aac44bdc2b3e72f1de9ab167e1468ece932f14
* Fix support of OCP3.6 and 3.7Valerii Ponomarov2019-04-111-0/+5
| | | | | | | Project has lots of inconsistencies with OCP3.6 and 3.7 So, fix it. Change-Id: I8d38773637b779e1c2e1631568f100c1ab1fdd50
* Unskip TCs with recreation of Gluster PODsValerii Ponomarov2019-03-191-5/+7
| | | | | | | | BZ-1632873 was fixed, hence, unskip test cases which were skipped due to this BZ. Also, make it run only on containerized Gluster clusters. Change-Id: Iee49a303c4f191652d1c94c18e830e6d2fb4e381
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-15/+16
| | | | | | | | | | | | 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
* Rename test modulenigoyal2019-03-071-0/+494
Rename test module to remove P0 from its name. Which will let us comsume same files for adding other priority test cases as well. Change-Id: I66cbb34ba7ecee1130b7d55952310955a9fe8722