summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_dynamic_provisioning_block.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-09-16 19:11:22 +0530
committervamahaja <vamahaja@redhat.com>2020-10-12 15:24:36 +0530
commitf56bb3920cb501d0fafa583bc851c1e7dda4aa30 (patch)
tree596e3294543c257c92cd052248acb1f816c7d989 /tests/functional/provisioning/test_dynamic_provisioning_block.py
parent8152b88071c0ac19c2caf6846a5948a0e515b1fc (diff)
[TestFix][Tier1] Move 'tier0' tests to 'tier1'
Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/provisioning/test_dynamic_provisioning_block.py')
-rwxr-xr-xtests/functional/provisioning/test_dynamic_provisioning_block.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/provisioning/test_dynamic_provisioning_block.py b/tests/functional/provisioning/test_dynamic_provisioning_block.py
index 4fecc385..cce553b0 100755
--- a/tests/functional/provisioning/test_dynamic_provisioning_block.py
+++ b/tests/functional/provisioning/test_dynamic_provisioning_block.py
@@ -112,7 +112,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
self.addCleanup(
oc_delete, self.node, 'pvc', pvc_name, raise_on_absence=True)
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_dynamic_provisioning_glusterblock_hacount_true(self):
"""Validate dynamic provisioning for glusterblock
"""
@@ -124,7 +124,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
"""
self.dynamic_provisioning_glusterblock(set_hacount=False)
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_dynamic_provisioning_glusterblock_heketipod_failure(self):
"""Validate PVC with glusterblock creation when heketi pod is down"""
datafile_path = '/mnt/fake_file_for_%s' % self.id()
@@ -191,7 +191,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
ret, 0,
"Failed to execute command %s on %s" % (write_data_cmd, self.node))
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_dynamic_provisioning_glusterblock_gluster_pod_or_node_failure(
self):
"""Create glusterblock PVC when gluster pod or node is down."""
@@ -290,7 +290,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
self.ocp_client[0], cmd % log, gluster_node=g_host)
self.assertTrue(out, "Command '%s' output is empty." % cmd)
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_dynamic_provisioning_glusterblock_heketidown_pvc_delete(self):
"""Validate PVC deletion when heketi is down"""
@@ -328,7 +328,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
# create a new PVC
self.create_and_wait_for_pvc()
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_recreate_app_pod_with_attached_block_pv(self):
"""Validate app pod attached block device I/O after restart"""
datafile_path = '/mnt/temporary_test_file'
@@ -357,7 +357,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
# Perform I/O on the new POD
self.cmd_run(write_cmd % (new_pod_name, datafile_path))
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_volname_prefix_glusterblock(self):
"""Validate custom volname prefix blockvol"""
@@ -377,7 +377,7 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
self.assertTrue(vol_name.startswith(
self.sc.get('volumenameprefix', 'autotest')))
- @pytest.mark.tier0
+ @pytest.mark.tier1
def test_dynamic_provisioning_glusterblock_reclaim_policy_retain(self):
"""Validate retain policy for gluster-block after PVC deletion"""