summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-09-17 10:45:02 +0530
committervamahaja <vamahaja@redhat.com>2020-10-12 16:46:49 +0530
commit1945bf99c2bd7f7552ed5c72924074f86fe81a7f (patch)
tree6940417960775597a9446b1400aa5e75bee85052 /tests/functional/heketi
parentd0604ca7d194a8f158096850ac931d5f5a0b8529 (diff)
[TestFix][Tier3] Add pytest marker for 'tier3' tests
Change-Id: Idd21f2d0cfb2a1171e4e8464646684ac9164ad0e Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r--tests/functional/heketi/test_block_volumes_heketi.py2
-rw-r--r--tests/functional/heketi/test_disabling_device.py2
-rw-r--r--tests/functional/heketi/test_heketi_create_volume.py2
-rwxr-xr-xtests/functional/heketi/test_heketi_device_operations.py2
-rw-r--r--tests/functional/heketi/test_heketi_zones.py20
5 files changed, 14 insertions, 14 deletions
diff --git a/tests/functional/heketi/test_block_volumes_heketi.py b/tests/functional/heketi/test_block_volumes_heketi.py
index cbea98ae..694a45ed 100644
--- a/tests/functional/heketi/test_block_volumes_heketi.py
+++ b/tests/functional/heketi/test_block_volumes_heketi.py
@@ -373,7 +373,7 @@ class TestBlockVolumeOps(GlusterBlockBaseClass):
# Check if all blockhosting volumes are deleted from heketi
self.assertFalse(new_bhv_list)
- @pytest.mark.tier2
+ @pytest.mark.tier3
@podcmd.GlustoPod()
def test_targetcli_when_block_hosting_volume_down(self):
"""Validate no inconsistencies occur in targetcli when block volumes
diff --git a/tests/functional/heketi/test_disabling_device.py b/tests/functional/heketi/test_disabling_device.py
index 5c287d43..74a6c3f7 100644
--- a/tests/functional/heketi/test_disabling_device.py
+++ b/tests/functional/heketi/test_disabling_device.py
@@ -8,7 +8,7 @@ from openshiftstoragelibs import podcmd
class TestDisableHeketiDevice(baseclass.BaseClass):
- @pytest.mark.tier2
+ @pytest.mark.tier3
@podcmd.GlustoPod()
def test_create_volumes_enabling_and_disabling_heketi_devices(self):
"""Validate enable/disable of heketi device"""
diff --git a/tests/functional/heketi/test_heketi_create_volume.py b/tests/functional/heketi/test_heketi_create_volume.py
index f7fb6126..f061c423 100644
--- a/tests/functional/heketi/test_heketi_create_volume.py
+++ b/tests/functional/heketi/test_heketi_create_volume.py
@@ -298,7 +298,7 @@ class TestHeketiVolume(BaseClass):
self.heketi_client_node, heketi_url, node_id, json=True)
self.assertEqual(node_info['state'].lower(), 'online')
- @pytest.mark.tier1
+ @pytest.mark.tier3
def test_blockvolume_create_no_free_space(self):
"""Validate error is returned when free capacity is exhausted"""
diff --git a/tests/functional/heketi/test_heketi_device_operations.py b/tests/functional/heketi/test_heketi_device_operations.py
index c8a9b991..a6831e98 100755
--- a/tests/functional/heketi/test_heketi_device_operations.py
+++ b/tests/functional/heketi/test_heketi_device_operations.py
@@ -339,7 +339,7 @@ class TestHeketiDeviceOperations(BaseClass):
is_delete_device, deleted_device, node_id, add_back_again,
skip_cleanup_addition=True)
- @pytest.mark.tier2
+ @pytest.mark.tier3
def test_heketi_device_removal_with_insuff_space(self):
"""Validate heketi with device removal insufficient space"""
diff --git a/tests/functional/heketi/test_heketi_zones.py b/tests/functional/heketi/test_heketi_zones.py
index a5e6fd3b..e1cd5dd4 100644
--- a/tests/functional/heketi/test_heketi_zones.py
+++ b/tests/functional/heketi/test_heketi_zones.py
@@ -227,7 +227,7 @@ class TestHeketiZones(baseclass.BaseClass):
new_env_list = command.cmd_run(cmd_list_env, hostname=self.node)
self.assertIn(env, new_env_list, "Failed to set env {}".format(env))
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(1, "none"),
(2, "none"),
@@ -282,7 +282,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(1, "none"),
(2, "none"),
@@ -341,7 +341,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(3, "strict"),
(1, "none"),
@@ -379,7 +379,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(3, "strict"),
(1, "none"),
@@ -419,7 +419,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(3, 4)
def test_pvc_placement_with_zone_check_set_in_dc(self, zone_count):
heketi_zone_checking = "strict"
@@ -447,7 +447,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(3, 4)
def test_check_arbiter_pvc_placement_zone_check_in_dc(self, zone_count):
heketi_zone_checking = "strict"
@@ -483,7 +483,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(1, False),
(1, True),
@@ -526,7 +526,7 @@ class TestHeketiZones(baseclass.BaseClass):
# Create app DC with the above PVC
self.create_dc_with_pvc(pvc_name, timeout=120, wait_step=3)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
("strict", "strict"),
("none", "strict"),
@@ -643,7 +643,7 @@ class TestHeketiZones(baseclass.BaseClass):
return app_pods
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(3, False),
(3, True),
@@ -733,7 +733,7 @@ class TestHeketiZones(baseclass.BaseClass):
openshift_ops.wait_for_pod_be_ready(
self.node, pod_name, timeout=5, wait_step=2)
- @pytest.mark.tier1
+ @pytest.mark.tier3
@ddt.data(
(3, False),
(3, True),