summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_heketi_metrics.py
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix] Add pytest marker for tier1 test casesvamahaja2020-03-171-0/+8
| | | | | Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Testfix] Fix function call for `get_pod_name_from_dc`vamahaja2020-02-281-1/+1
| | | | | | | | | | | | | | | Fix consists of - Remove dc name which is passed twice to function 'get_pod_name_from_dc' In test case 'test_heketi_metrics_heketipod_failure' function 'get_pod_name_from_dc' is called by passing dc name twice, because of which 'timeout' is passed as dc name instead of integer value hence raising an exception 'TypeError'. Change-Id: I6827a8f9bbd847f346ea6b519db97181219f9717 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add possibility to check Heketi DB inconsistencies after each tcValerii Ponomarov2019-10-251-0/+1
| | | | | | | | | Define 'check_heketi_db_inconsistencies' config option setting there 'False' or 'True' values. Default value is 'True'. If heketi client doesn't support the 'heketi db check' feature, then 'heketi db check' just won't be performed. Change-Id: I7faff35b15e40d864c0377ae7fee154e217d8eae
* Fix pep8 errors in the files of the 'tests' dirValerii Ponomarov2019-08-301-14/+14
| | | | 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
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-9/+9
| | | | | | | | | | | | 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/+317
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