summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_create_distributed_replica_heketi_volume.py
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix][Tier1] Move 'tier0' tests to 'tier1'vamahaja2020-10-121-3/+3
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC create a distributed replicate volumeArun Kumar2020-06-241-2/+12
| | | | | Change-Id: Ie627998f6e363791e2249ca3472e66c13805666e Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Add pytest marker for tier0 test casesvamahaja2020-03-131-0/+3
| | | | | Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
* Fix code to create bhv in func _create_distributed_replica_volkasturiNarra2019-12-121-2/+2
| | | | | | | Change code of func _create_distributed_replica_vol to handle block hosting volume creation as well. Change-Id: If4b1f48dc8cbe257254a2729599f58f302b403d8
* Delete duplicate test "test_to_create_distribute_replicated_vol"kasturiNarra2019-12-121-7/+5
| | | | | | | | | which completely duplicates "test_to_create_and_delete_dist_rep_vol" in 'test_create_distributed_replica_heketi_volume.py' test module & fix cleanup code for create_heketi_volume_with_name_and_wait in openshift-storage-libs/openshiftstoragelibs/baseclass.py module. Change-Id: I9b3dea28e6330e52caab09311e20b65dd48491b9
* Fix test cases which are failing to delete volume after test completionvamahaja2019-09-131-15/+9
| | | | | | | | | | | 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>
* Add testcase to create and delete distributed-replicated bhvSri Vignesh2019-09-061-5/+14
| | | | | | | | validate creation and deletion of distributed-replicated bhv. Change-Id: Ia42ace7e5be53fa7a00f88378575205e7fd5ba97 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Fix pep8 errors in the files of the 'tests' dirValerii Ponomarov2019-08-301-4/+4
| | | | Change-Id: I26c750c68055c6cc50de8015942d0d9725819aaf
* Make Heketi commands run on a Heketi POD when main command failsValerii Ponomarov2019-07-111-2/+1
| | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | 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-12/+14
| | | | | | | | | | | | 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/+205
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