diff options
Diffstat (limited to 'tests/functional/provisioning/test_dynamic_provisioning_block.py')
-rw-r--r-- | tests/functional/provisioning/test_dynamic_provisioning_block.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/functional/provisioning/test_dynamic_provisioning_block.py b/tests/functional/provisioning/test_dynamic_provisioning_block.py index 85b842eb..8b668d62 100644 --- a/tests/functional/provisioning/test_dynamic_provisioning_block.py +++ b/tests/functional/provisioning/test_dynamic_provisioning_block.py @@ -1,5 +1,3 @@ -from unittest import skip - from glusto.core import Glusto as g from openshiftstoragelibs.baseclass import GlusterBlockBaseClass @@ -145,9 +143,13 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass): ret, 0, "Failed to execute command %s on %s" % (write_data_cmd, self.node)) - @skip("Blocked by BZ-1632873") def test_dynamic_provisioning_glusterblock_glusterpod_failure(self): - """Create glusterblock PVC when gluster pod is down""" + """Create glusterblock PVC when gluster pod is down.""" + + # Check that we work with containerized Gluster + if not self.is_containerized_gluster(): + self.skipTest("Only containerized Gluster clusters are supported.") + datafile_path = '/mnt/fake_file_for_%s' % self.id() # Create DC with attached PVC @@ -170,7 +172,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass): cmd = ("oc get pods -o wide | grep glusterfs | grep %s | " "grep -v Terminating | awk '{print $1}'") % ( gluster_pod_data["host_name"]) - for w in Waiter(600, 30): + for w in Waiter(600, 15): out = self.cmd_run(cmd) new_gluster_pod_name = out.strip().split("\n")[0].strip() if not new_gluster_pod_name: |