diff options
author | vamahaja <vamahaja@redhat.com> | 2020-04-23 13:06:04 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2020-04-23 13:06:04 +0530 |
commit | 200913ce74823f4f87519d1e36f4201b4eeb55bc (patch) | |
tree | d6c8fdb0eaa13881158608f4c73eb36be4ee082e /tests/functional/provisioning/test_pv_resize.py | |
parent | 766ed7a521ea08a6a18282fe47a505b8f266de1c (diff) |
[TestFix] Add CRS check for test cases
Change-Id: I4213c2f6f9d1a0c2c3382bfada6632bd21db1350
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/provisioning/test_pv_resize.py')
-rw-r--r-- | tests/functional/provisioning/test_pv_resize.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 " |