From ea4fdcc31afbe0c27d249e6905265d7defcfc829 Mon Sep 17 00:00:00 2001 From: vamahaja Date: Fri, 24 Apr 2020 11:52:03 +0530 Subject: [TestFix] Add CRS check for tier0 test cases Change-Id: I995759d6f77edd5b096a8c1666eee6ab0dbc6cc8 Signed-off-by: vamahaja --- tests/functional/heketi/test_heketi_node_operations.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py index 0bf5a4b2..1f5e2b04 100644 --- a/tests/functional/heketi/test_heketi_node_operations.py +++ b/tests/functional/heketi/test_heketi_node_operations.py @@ -240,6 +240,11 @@ class TestHeketiNodeOperations(baseclass.BaseClass): @pytest.mark.tier0 def test_heketi_node_add_with_valid_cluster(self): """Test heketi node add operation with valid cluster id""" + if not self.is_containerized_gluster(): + self.skipTest( + "Skipping this test case as CRS version check " + "is not implemented") + if (openshift_storage_version.get_openshift_storage_version() < "3.11.4"): self.skipTest( -- cgit