From 200913ce74823f4f87519d1e36f4201b4eeb55bc Mon Sep 17 00:00:00 2001 From: vamahaja Date: Thu, 23 Apr 2020 13:06:04 +0530 Subject: [TestFix] Add CRS check for test cases Change-Id: I4213c2f6f9d1a0c2c3382bfada6632bd21db1350 Signed-off-by: vamahaja --- tests/functional/provisioning/test_pv_resize.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/functional/provisioning/test_pv_resize.py') diff --git a/tests/functional/provisioning/test_pv_resize.py b/tests/functional/provisioning/test_pv_resize.py index 7f9ba907..2ec469a2 100644 --- a/tests/functional/provisioning/test_pv_resize.py +++ b/tests/functional/provisioning/test_pv_resize.py @@ -224,6 +224,11 @@ class TestPvResizeClass(BaseClass): @pytest.mark.tier2 def test_pv_resize_no_free_space(self): """Validate PVC resize fails if there is no free space available""" + if not self.is_containerized_gluster(): + self.skipTest( + "Skipping this test case as CRS version check " + "is not implemented") + if get_openshift_storage_version() < "3.11.5": self.skipTest( "This test case is not supported for < OCS 3.11.5 builds due " -- cgit