summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_heketi_node_operations.py
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix] Fix pytest warningsvamahaja2020-07-141-1/+1
| | | | | | | | | | | 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>
* [TestFix] Add CRS check for tier0 test casesvamahaja2020-04-241-0/+5
| | | | | Change-Id: I995759d6f77edd5b096a8c1666eee6ab0dbc6cc8 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add CRS check for test casesvamahaja2020-04-231-0/+5
| | | | | Change-Id: I4213c2f6f9d1a0c2c3382bfada6632bd21db1350 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add tc marker tier0 & tier1vamahaja2020-04-071-0/+1
| | | | | Change-Id: I079c8ddd0e72b55754e075de06ca168b220f80c8 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC check node addition in heketi dbArun Kumar2020-04-061-9/+38
| | | | | Change-Id: I2cde18222ba56a25962e3e3e63580c7ac2f38ceb Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Add pytest marker for tier2 test casesvamahaja2020-03-311-1/+1
| | | | | Change-Id: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add pytest marker for tier1 test casesvamahaja2020-03-171-0/+3
| | | | | 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>
* Handle empty list of 'additional_gluster_servers' correctlyvamahaja2019-12-121-1/+1
| | | | | | | | | | In the 'test_heketi_node_operations::TestHeketiNodeOperations' class, if we define 'additional_gluster_servers' option, but do not provide there any value, then we fail. But, "skip" is expected in such situation. So, catch "IndexError" exception and make tests be skipped after it. Change-Id: Idfb1cdfc6941d284a4dc8e670c2eb5510eafe744 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add TCs volume operations while node removal is runningNitin Goyal2019-12-091-0/+139
| | | | | | | Add new TCs where TCs verify that volume operations works while node removal is running. Change-Id: Id5092761253eb8f221c5fb39cfb95765f3087eea
* Add new TCs remove or delete heketi nodeNitin Goyal2019-12-051-0/+279
| | | | | | | Add new TC remove or delete node from heketi, and verify gluster peer status, bricks on the new node and heal info. Change-Id: If4b6006a4a58fd581ac9851b377a82f69ce0f30f
* Add test case to automate heketi add node to a invalid clustervamahaja2019-11-191-0/+17
| | | | | Change-Id: I482ac6ebed181546a18595c6a6b21d2115782b3a Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix test case "test_heketi_node_add_with_valid_cluster"vamahaja2019-11-191-39/+93
| | | | | | | | | | Fix consists of - - Remove steps for add device validation. - Add steps for gluser peer status validation. - Add steps for endpoints validation. Change-Id: I773a883b1ea8bb2bc93660db3459fd864fcd1317 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add test cases to perform heketi cluster operations with nodesvamahaja2019-10-171-0/+68
| | | | | Change-Id: I22410ad8c81ca71ac9c2cbaddd66f086abcdf3c5 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Merge heketi node operation tests in one class and fix libraryvamahaja2019-09-191-0/+108
Fix consists of - - Use "**kwargs" approach in the "heketi_node_list" function as it is done in lots of other functions. - Parse the CLI output in the "heketi_node_list" function using regex instead of the splitting and stripping strings. - Combine test cases related to the same feature into one module - test_heketi_node_operations.py - Remove redundant checks which already exist in common libraries. - Remove unnecessary logging. Change-Id: I815ddfbbacb765140229e7630ec87a6bbaa6255b Signed-off-by: vamahaja <vamahaja@redhat.com>