summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_pv_resize.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-09-17 09:32:15 +0530
committervamahaja <vamahaja@redhat.com>2020-10-12 16:45:43 +0530
commitd0604ca7d194a8f158096850ac931d5f5a0b8529 (patch)
tree4e2410878cd9853d66c2ff9e1ba3bd28c147ca91 /tests/functional/provisioning/test_pv_resize.py
parentf56bb3920cb501d0fafa583bc851c1e7dda4aa30 (diff)
[TestFix][Tier2] Update pytest marker for 'tier2' tests
Change-Id: I5db480da820c82b7b15f90ed70a4f60643079cb0 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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/provisioning/test_pv_resize.py b/tests/functional/provisioning/test_pv_resize.py
index abadc4ee..a7baca00 100644
--- a/tests/functional/provisioning/test_pv_resize.py
+++ b/tests/functional/provisioning/test_pv_resize.py
@@ -50,7 +50,7 @@ class TestPvResizeClass(BaseClass):
g.log.error(msg)
raise self.skipTest(msg)
- @pytest.mark.tier1
+ @pytest.mark.tier2
@ddt.data(
(True, True),
(False, True),
@@ -258,7 +258,7 @@ class TestPvResizeClass(BaseClass):
"""Validate PVC resize when resized by exact available free space"""
self._pv_resize(exceed_free_space=False)
- @pytest.mark.tier1
+ @pytest.mark.tier2
def test_pv_resize_try_shrink_pv_size(self):
"""Validate whether reducing the PV size is allowed"""
dir_path = "/mnt/"
@@ -295,7 +295,7 @@ class TestPvResizeClass(BaseClass):
self.assertEqual(
ret, 0, "Failed to execute command %s on %s" % (cmd, node))
- @pytest.mark.tier1
+ @pytest.mark.tier2
def test_pv_resize_when_heketi_down(self):
"""Create a PVC and try to expand it when heketi is down, It should
fail. After heketi is up, expand PVC should work.
@@ -418,7 +418,7 @@ class TestPvResizeClass(BaseClass):
resize_pvc(self.ocp_master_node[0], pvc_name, available_size_gb)
verify_pvc_size(self.ocp_master_node[0], pvc_name, available_size_gb)
- @pytest.mark.tier1
+ @pytest.mark.tier2
def test_pv_resize_device_disabled(self):
"""Validate resize after disabling all devices except one"""
h_node, h_url = self.heketi_client_node, self.heketi_server_url