summaryrefslogtreecommitdiffstats
path: root/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix] Add config to read i/o imagesvamahaja2020-12-086-15/+25
| | | | | | Add support to pass I/O image from config file Change-Id: I2c943ba0efaeab3a44eef63030965f36f8086c1b
* [Test] Add TC to validate docker restart does not failadityaramteke2020-12-031-0/+69
| | | | | Change-Id: Ia22ff59c0fff2f19b4053b2342a5ae3a704e8546 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix] Fix clean-up for heketi node operationSushil Gupta2020-12-012-4/+4
| | | | | | Signed-off-by: Sushil Gupta <susgupta@redhat.com> Change-Id: I2b1ed22c0a74d29e1cf50e469377ee188d3ea347
* [TestFix] Fix an extra blank line at the end of fileadityaramteke2020-12-011-1/+1
| | | | | Change-Id: Ia42dc977e28dd285716b566cf4582c4dd473dee2 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [Test] Add TC to validate manual cleanup in bhvSri Vignesh2020-12-011-0/+132
| | | | | Change-Id: I03573c7d4031945fd92d7a721a0a0219f6d77b82 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Validate volume metrics before and after pod restartBala Konda Reddy M2020-11-251-0/+146
| | | | | Change-Id: Iccebdb8bf9a7daeb68ac5e31715df352aea0368f Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
* [Test] Test used bytes & brick count in heketi & prometheusubansal2020-11-251-1/+122
| | | | | Change-Id: Ifac2be00b93d70d324891f28249dce0da5f389f6 Signed-off-by: ubansal <ubansal@redhat.com>
* [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>
* [Test] Add test for heketi authenticationBala Konda Reddy M2020-11-051-0/+33
| | | | | Change-Id: I2dc817dafffa6c313d24fdd11014dc3f3e203aa8 Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
* [Test] Add TC to validate prometheus device count after add/delete opubansal2020-10-201-0/+89
| | | | | Change-Id: I7267985300e00bb07ac32660e521c388db930eed Signed-off-by: ubansal <ubansal@redhat.com>
* [TestFix][Tier4] Add pytest marker for 'tier4' testsvamahaja2020-10-1215-44/+44
| | | | | Change-Id: I3c331883aff037116d3680649c29a39a266b0684 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier3] Add pytest marker for 'tier3' testsvamahaja2020-10-1210-28/+28
| | | | | Change-Id: Idd21f2d0cfb2a1171e4e8464646684ac9164ad0e Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier2] Update pytest marker for 'tier2' testsvamahaja2020-10-1217-62/+62
| | | | | Change-Id: I5db480da820c82b7b15f90ed70a4f60643079cb0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier1] Move 'tier0' tests to 'tier1'vamahaja2020-10-1220-73/+73
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate stale/failed entries in dbSri Vignesh2020-10-071-4/+109
| | | | | Change-Id: I3e1bccec5d78de517e3b268d4e847943bd8cfcf4 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC for heketi cleanup operation log after heketi pod restartSri Vignesh2020-10-051-0/+57
| | | | | Change-Id: Ia1c7f3d0c20a2b75b4c7fbb055c5674b3d9ce949 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC's to validate metrics during volume creation and expansionArun Kumar2020-10-051-0/+58
| | | | | Change-Id: I1ac67fef6ad315b141adf4666b50a820f6f0ce25 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to validate lvm script after assigning false valueadityaramteke2020-10-051-1/+98
| | | | | Change-Id: Ifb50cafc55d8b1288104fc5fe61e335262341278 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [Test] Add TC to check prometheus device countubansal2020-09-301-0/+31
| | | | | Change-Id: I5f3bdbfe51080d8820526f3924d64dd88107e9d7 Signed-off-by: ubansal <ubansal@redhat.com>
* [Test] Add TC's to validate respin of prometheus podsArun Kumar2020-09-291-0/+62
| | | | | Change-Id: I1b147e7d12edbb45d4dc983905050c3e0dd66c56 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to perform post deployment validations of prometheusArun Kumar2020-09-282-0/+116
| | | | | Change-Id: I026f2aa944aaa6b338c45c54ac4504ecb854f00c Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [TestFix] Fix volume size calculationSri Vignesh2020-09-281-1/+1
| | | | | | | | | Volume creation with available free size is failing as metadata takes some space. Fix calculation to leave 2% space for metadata. Change-Id: Idc041b61155ce530a0a2c5bbdda3a6986cd9a469 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Add assert to validate ls output for lvm scriptadityaramteke2020-09-231-1/+2
| | | | | Change-Id: Iaf6123626d3fc57ea6bbf1388764944dc7049e8e Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix] Fix heketi server db operations TC issuesvamahaja2020-09-231-261/+227
| | | | | Change-Id: I3d07128f8881b18b89773e4290bee826ca99468c Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate lvm script is executable on hostadityaramteke2020-09-181-0/+47
| | | | | | Signed-off-by: Aditya Ramteke <aramteke@redhat.com> Change-Id: Ib9870cba6fc5ce1936a22c9fcbb326a6ab753378
* [Test] Add TC to verify dev path mapping for gluster pod after rebootSushil Gupta2020-09-161-0/+60
| | | | | Change-Id: Ia492850b65c7915293d457463058272b321bd9e6 Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [Test] Add TC to verify dev path mapping for heketi pod after rebootSushil Gupta2020-09-101-0/+61
| | | | | Change-Id: I24e4000ff19bc9520d4eb6db66ee04c37d2e0b17 Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [Test] Add TC to validate dev path mapping for file&block vol deleteSri Vignesh2020-09-102-1/+185
| | | | | Change-Id: Id11489bb0cbf2f706e8ce756a1479276a76a3aa8 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate heketi LVM wrapper functionalityadityaramteke2020-09-101-0/+63
| | | | | Change-Id: I92925dd419a78d2f3a3a2baf8e80727e33d6d5ae Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [Test] Add TC to verify dev path on file & block pvc with vol rebootSushil Gupta2020-09-102-0/+198
| | | | | Change-Id: Ie072f0365a3d4cf71142e07f6387c8653a616945 Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [TestFix] Add marker tag to TC test_kill_bhv_fsd_while_es_pod_runningArun Kumar2020-09-071-0/+1
| | | | | Change-Id: If6c93d5f0f71ae73bebf1b7f83c2fd99a3e31456 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to validate kill pid of bhv related to es podArun Kumar2020-08-261-6/+66
| | | | | Change-Id: I6bcf0601b8fd70b7952b40da854a7317496cfbc3 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to validate dev path mapping for file&block vol createSri Vignesh2020-08-262-0/+176
| | | | | Change-Id: I61364640386ee6706276ff253f5f5bf58cf5ba24 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate gluster pod restart with no disruption to es podSushil Gupta2020-08-241-13/+102
| | | | | Change-Id: Ibcad0d0b395e3ea8e1d3cb388c7b4b37fb912449 Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [TestFix] Fix BHV count calculations for small size disk clustervamahaja2020-08-191-2/+6
| | | | | | | | | | | | Fix consists of - In case small size disk is present in cluster TC 'test_create_max_num_blockhostingvolumes' uses blockvolume size as 0 due to default BV count, which leads to failure of BV creation. To fix issue set BV size to 1 and BHV count to free size in case, mod operation returns 0. Change-Id: Ia5c656e215498acdc86383c9a771a0094de70716 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 utilize full space of PVC bount to ES podArun Kumar2020-08-071-0/+37
| | | | | Change-Id: I0cbcc8c9c125d2925c85e08fd6b8690cc8ee0342 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to validate basic sanity after the logging deploymentArun Kumar2020-08-072-0/+89
| | | | | Change-Id: I8c4065c9ec8d3639172b4a7098af908b3b4e062e Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to create block volume with custom vol name prefixSushil Gupta2020-08-071-2/+58
| | | | | Change-Id: If4293d3987b9de55845eea95ddd3f5e309ea810a Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [TestFix] Remove redundant skip statement from test caseArun Kumar2020-07-311-6/+0
| | | | | | | | | 'TestGlusterBlockStability.SetUp' already have a check for 'crs' or 'cns'. Removed redundant skip statement which perform same step in test case 'test_initiator_side_failures_initiator_and_target_on_same_node'. Change-Id: Ia587f9d17b9752a218ead030faa6941938b0d4c7 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to kill targetcli during block PVC deletionArun Kumar2020-07-291-31/+72
| | | | | Change-Id: I336fd244c74a1afca6ba1e1e5b6e6b30e14bfad2 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Remove the skip marker from TC and add the validationArun Kumar2020-07-291-34/+66
| | | | | Change-Id: I1734d0f9ed535176abb5f7741d00efc817aec222 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate arbiter vol creation with differnet tags on devicesSushilG962020-07-291-0/+259
| | | | | Change-Id: I2bcd6d6cecf79786f4de187929e3d42de5595c70 Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add TC to validate resize operation while io's are runningArun Kumar2020-07-161-0/+28
| | | | | Change-Id: If2b5869d01191d8a95b612294c4e74b92d998950 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix pytest warningsvamahaja2020-07-142-2/+2
| | | | | | | | | | | Fix consists of - 1. Remove depricated method 'assertEquals'. 2. Add 'junit_family=legacy' to pytest.ini to keep using the legacy version for JUnit XML file. 3. Prepend 'r' for regular expression. Change-Id: I9a804bba3590e33b50aa0c88ded9cf0007afe1e6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC app pod deletion with different intiator and targetArun Kumar2020-07-101-27/+45
| | | | | Change-Id: I1d5e8ce9a12b693b1a4a6fbc93718c3b6e71c801 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate block behaviour when target node is downArun Kumar2020-07-101-29/+58
| | | | | Change-Id: I4535d249d4d271f6b622f82002eddd33f3d4b01e Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix to add wait after the pod creationArun Kumar2020-07-081-3/+7
| | | | | | | | | | Fix consists of - Addition of wait for the pods to be ready after the creation of dc, inside the method '_create_dcs_and_check_brick_placement' which led to the failure of few heketi zone TC's. Change-Id: Ib932e1a338b52673418d39fcd35a9d27f508a48f Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix large heketi volume creation issueSri Vignesh2020-07-071-4/+3
| | | | | | | | | | | Fix consists of - While creating large heketi valumes, sometime timeout will occur for heketi command but after sometime volume will get created. Use baseclass function 'create_heketi_volume_with_name_and_wait' to check for volume in case timeout occurs. Change-Id: Ia2cdf8d50ecba01ebf593e72afbbff809877c944 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Fix cleaning up resources in TC 'test_delete_heketi_volume'Sri Vignesh2020-07-071-4/+9
| | | | | Change-Id: Idf618b0f887ff56d080f99487f2c4859ddd51a21 Signed-off-by: Sri Vignesh <sselvan@redhat.com>