summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Goyal <nigoyal@redhat.com>2020-12-11 14:44:45 +0530
committerVaibhav Mahajan <vamahaja@redhat.com>2020-12-11 10:13:49 +0000
commit4e10579b21ae5fbc916ac5178e3ca54227f261e3 (patch)
tree216b39a8f09c21490224fc41fe95904eddf2d066
parent0189b57b40260e8adc79e5daea3d0e6e5e312c19 (diff)
[LibFix] Correct heketi version for new features
Change-Id: I07a9aba662e6911cd10f68e9e2c52d4d26c311f3 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/heketi_ops.py4
-rw-r--r--tests/functional/heketi/test_block_volumes_heketi.py2
-rw-r--r--tests/functional/heketi/test_heketi_brick_evict.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
index 30e08f0..1f6a770 100644
--- a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
@@ -321,7 +321,7 @@ def heketi_blockvolume_expand(heketi_client_node, heketi_server_url,
"""
version = heketi_version.get_heketi_version(heketi_client_node)
- if version < '9.0.0-13':
+ if version < '9.0.0-14':
msg = ("heketi-client package {} does not support blockvolume "
"expand".format(version.v_str))
g.log.error(msg)
@@ -2139,7 +2139,7 @@ def heketi_brick_evict(heketi_client_node, heketi_server_url, brick_id,
"""
version = heketi_version.get_heketi_version(heketi_client_node)
- if version < '9.0.0-13':
+ if version < '9.0.0-14':
msg = (
"heketi-client package {} does not support brick evict".format(
version.v_str))
diff --git a/tests/functional/heketi/test_block_volumes_heketi.py b/tests/functional/heketi/test_block_volumes_heketi.py
index f56ead9..cee4824 100644
--- a/tests/functional/heketi/test_block_volumes_heketi.py
+++ b/tests/functional/heketi/test_block_volumes_heketi.py
@@ -602,7 +602,7 @@ class TestBlockVolumeOps(GlusterBlockBaseClass):
h_node, h_server = self.heketi_client_node, self.heketi_server_url
version = heketi_version.get_heketi_version(h_node)
- if version < '9.0.0-13':
+ if version < '9.0.0-14':
self.skipTest("heketi-client package {} does not support "
"blockvolume expand".format(version.v_str))
diff --git a/tests/functional/heketi/test_heketi_brick_evict.py b/tests/functional/heketi/test_heketi_brick_evict.py
index de0cb4f..27cc1eb 100644
--- a/tests/functional/heketi/test_heketi_brick_evict.py
+++ b/tests/functional/heketi/test_heketi_brick_evict.py
@@ -15,7 +15,7 @@ class TestHeketiBrickEvict(BaseClass):
super(TestHeketiBrickEvict, self).setUp()
version = heketi_version.get_heketi_version(self.heketi_client_node)
- if version < '9.0.0-13':
+ if version < '9.0.0-14':
self.skipTest(
"heketi-client package {} does not support brick evict".format(
version.v_str))