summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_node_restart.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2019-08-13 19:17:24 +0530
committervponomar <vponomar@redhat.com>2019-08-14 08:56:47 +0000
commit3f060d7c5957791e91df7441dad8cc8bb9679331 (patch)
treec62d5656bbb75b39bffd5314e029700d379c2148 /tests/functional/test_node_restart.py
parent45958781660802c7c8792c307fda05e43323cf20 (diff)
Add OCS version check for test cases
Change-Id: I4196cb1395a3720e03f62473d11e5f46d797c355
Diffstat (limited to 'tests/functional/test_node_restart.py')
-rw-r--r--tests/functional/test_node_restart.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/test_node_restart.py b/tests/functional/test_node_restart.py
index 3d342af6..8bf70f7c 100644
--- a/tests/functional/test_node_restart.py
+++ b/tests/functional/test_node_restart.py
@@ -11,6 +11,9 @@ from openshiftstoragelibs.openshift_ops import (
oc_rsh,
wait_for_pod_be_ready,
)
+from openshiftstoragelibs.openshift_storage_version import (
+ get_openshift_storage_version
+)
class TestNodeRestart(BaseClass):
@@ -26,6 +29,9 @@ class TestNodeRestart(BaseClass):
self.skipTest("Standalone Gluster is not supported by this test.")
self.gluster_pod_name = self.gluster_pod_list[0]
+ if get_openshift_storage_version() < "3.11.1":
+ self.skipTest("Skipping this test case due to bug BZ-1635736")
+
self.sc_name = self.create_storage_class()
self.pvc_names = self._create_volumes_with_io(3)