diff options
author | vamahaja <vamahaja@redhat.com> | 2019-04-22 14:22:02 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2019-04-22 14:23:45 +0530 |
commit | ca0834d26675c0e11c6d3c9f92825c5f35be9e04 (patch) | |
tree | c9562c9b4e77c3a9952e210d58b806aea729b13a /tests | |
parent | d90380c9b551356396c608da6f86ff16729cdbc5 (diff) |
Skip test case "test_pvc_deletion_while_pod_is_running" for OCP 3.9
"test_pvc_deletion_while_pod_is_running" test case is not supported
on OCP 3.9. Added skip statement for OCP 3.9
Change-Id: I5af35145c35371e7eed37d78c2fb9ce23dc9ffa6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/provisioning/test_dynamic_provisioning_file.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/provisioning/test_dynamic_provisioning_file.py b/tests/functional/provisioning/test_dynamic_provisioning_file.py index 4f361834..64e94aba 100644 --- a/tests/functional/provisioning/test_dynamic_provisioning_file.py +++ b/tests/functional/provisioning/test_dynamic_provisioning_file.py @@ -380,6 +380,10 @@ class TestDynamicProvisioningP0(BaseClass): def test_pvc_deletion_while_pod_is_running(self): """Validate PVC deletion while pod is running""" + if get_openshift_version() <= "3.9": + self.skipTest( + "PVC deletion while pod is running is not supported" + " in OCP older than 3.9") # Create DC with POD and attached PVC to it sc_name = self.create_storage_class() |