summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
Commit message (Collapse)AuthorAgeFilesLines
...
* Use py2/3 compatible string type checksNitin Goyal2019-04-152-4/+4
| | | | | | | Replace usage of "types.StringTypes" with "six.string_types", because the latter one is compatible with both - py2 and py3. Change-Id: Ie8f9495914fca527da086af0915130470e3fd3e0
* Fix 'get_events' func for 3.9-3.11 OCP versionsNitin Goyal2019-04-151-1/+1
| | | | | | | As part of the fix we are fixing "AttributeError: 'str' object has no attribute 'append'" in 'get_events' func Change-Id: Ica2489e2d48f9ec8065fe0863b6c5d1633e93860
* Fix support of OCP3.6 and 3.7Valerii Ponomarov2019-04-113-6/+30
| | | | | | | Project has lots of inconsistencies with OCP3.6 and 3.7 So, fix it. Change-Id: I8d38773637b779e1c2e1631568f100c1ab1fdd50
* Add py3 support to our tox config and fix several incompatibilitiesValerii Ponomarov2019-04-117-17/+39
| | | | | | | | | | | | | | | | | | 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
* Unskip TCs with recreation of Gluster PODsValerii Ponomarov2019-03-191-0/+7
| | | | | | | | BZ-1632873 was fixed, hence, unskip test cases which were skipped due to this BZ. Also, make it run only on containerized Gluster clusters. Change-Id: Iee49a303c4f191652d1c94c18e830e6d2fb4e381
* Add timeouts for heketi commandsValerii Ponomarov2019-03-191-0/+32
| | | | | | | | | | | | | | | It happens, that Heketi commands hang. So, to avoid cancelling of whole test runs, add timeouts for Heketi commands. By default, timeout is 120 sec (2 min). If it is needed to change default value, then define following config option: common: heketi_command_timeout: 180 Change-Id: I79f33daa05bde9a37245e94e66042944c6cd9242
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-1816-0/+4600
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