summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_heketi_device_operations.py
Commit message (Collapse)AuthorAgeFilesLines
* [Test] Add TC to validate volume creation with a tag-matching ruleadityaramteke2021-02-081-0/+71
| | | | | Change-Id: I35b4492e59972d88ce3bf065b874347bc475a08e Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [Test] Add TC to validate volume failure when settage only on one deviceadityaramteke2021-02-051-0/+25
| | | | | Change-Id: I5b350f4a51233ff23b13c37f0b2ddfb75ef87d44 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix][Tier3] Add pytest marker for 'tier3' testsvamahaja2020-10-121-1/+1
| | | | | 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-2/+2
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate heketi device deletion lifecycleArun Kumar2020-07-061-87/+96
| | | | | Change-Id: Ifd4aeaeb05fcb18c38b21b26640c49a1e7035093 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate vg and uuid of all devices in heketi topologyArun Kumar2020-05-271-0/+22
| | | | | Change-Id: I415e380b2b9e4d6aaa1d4333b6481640e2d3419f 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>
* [Test] Add TC to validate deletion of device with bricksrachael-george2020-03-231-0/+26
| | | | | Change-Id: I591ee6b5a3e0b56fa74bd520fc0e522662c812ce Signed-off-by: rachael-george <rgeorge@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/+3
| | | | | Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Optimize repeated dictionary access using loopkshithijiyer2020-01-201-3/+2
| | | | | Change-Id: I332a66659b5abefb5d5052232ec9b61124860575 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Refactor heketi device test casesvamahaja2020-01-181-4/+70
| | | | | | | | | | | | | | | | | | | | | List of changes - 1. Remove test file 'test_device_info.py' as it contains only one test case which can be part of test file 'test_heketi_device_operations.py' 2. Change test case name 'test_device_enable_disable' to 'test_heketi_device_enable_disable' 3. Change test case name 'test_device_remove_operation' to 'test_heketi_device_remove' 4. Change test case name 'test_heketi_with_device_removal_insuff_space' to 'test_heketi_device_removal_with_insuff_space' 5. Chnage test case name 'test_heketi_device_delete_operation' to 'test_heketi_device_delete' 6. Move test case 'test_heketi_devices_info_verification' to 'test_heketi_device_operations.py' and rename as 'test_heketi_device_info' Change-Id: I8ddc9beb7bc697214242212e50c9727ce644f2c1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [py2to3] Fix dict.values() py3 incompatibilitiesvamahaja2020-01-131-1/+1
| | | | | Change-Id: Ibb96e961b1501ef696858a5eec80422471e877fd Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add TC delete a newly added deviceArun Kumar2019-09-241-0/+59
| | | | | | | Add a device, check there are no bricks on the device and verify the device deletion. Change-Id: I0e6adafb730e8d82926ce4e1d7b6b3c4799efc1b
* Fix test cases which are failing to delete volume after test completionvamahaja2019-09-131-10/+15
| | | | | | | | | | | In test case when we use large disk size, heketi takes time to create volume and due to timeout it gives error. Add fix in such test cases to check if volume created after getting an exception, get details of such volumes or raise exception in case it fails to create volume. Change-Id: I1c23a8c6558c23edf8947771e4f41a4bd3ffd66a Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix pep8 errors in the files of the 'tests' dirValerii Ponomarov2019-08-301-6/+6
| | | | Change-Id: I26c750c68055c6cc50de8015942d0d9725819aaf
* Make Heketi commands run on a Heketi POD when main command failsValerii Ponomarov2019-07-111-26/+14
| | | | | | | | It happens that heketi client located out of the Heketi POD may fail not reaching the server side. So, add back-up approach where we run Heketi commands on a Heketi POD when main commands fail. Change-Id: Ie6ae5be82082f34426f9288b02575e3abd4940f5
* Add py3 support to our tox config and fix several incompatibilitiesValerii Ponomarov2019-04-111-1/+6
| | | | | | | | | | | | | | | | | | Required steps to run test cases using py3: 1) Install py3 2) Install 'tox' package using "pip3" 3) Run test cases using tox package installed via pip3 Note that full py3 support is not tested yet. It only allows you to run it on py3 not providing any guarantees. Example: $ python3 -m tox -e functional3 -- \ glusto -c /path/to/the/config/file.yaml \ '--pytest=-v -rsx tests -k test_glusterblock_logs' Change-Id: I610faac0b75364c401734b6f892649893ca2320e
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-15/+17
| | | | | | | | | | | | 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/+415
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