summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-09-17 11:33:49 +0530
committervamahaja <vamahaja@redhat.com>2020-10-12 16:47:12 +0530
commitad777a2c65e9b3d3ff4a536abb333534b2486228 (patch)
treeac1178555cf9076ee708963b39acb04e34d7ed5b /tests/functional/heketi
parent1945bf99c2bd7f7552ed5c72924074f86fe81a7f (diff)
[TestFix][Tier4] Add pytest marker for 'tier4' tests
Change-Id: I3c331883aff037116d3680649c29a39a266b0684 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r--tests/functional/heketi/test_heketi_create_volume.py4
-rw-r--r--tests/functional/heketi/test_heketi_metrics.py2
-rw-r--r--tests/functional/heketi/test_heketi_node_operations.py2
-rw-r--r--tests/functional/heketi/test_server_state_examine_gluster.py2
-rw-r--r--tests/functional/heketi/test_volume_creation.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/heketi/test_heketi_create_volume.py b/tests/functional/heketi/test_heketi_create_volume.py
index f061c423..50718ff2 100644
--- a/tests/functional/heketi/test_heketi_create_volume.py
+++ b/tests/functional/heketi/test_heketi_create_volume.py
@@ -358,7 +358,7 @@ class TestHeketiVolume(BaseClass):
max_block_hosting_vol_size, blockvol2, block_hosting_vol,
'\n'.join(file_volumes_debug_info))))
- @pytest.mark.tier2
+ @pytest.mark.tier4
@podcmd.GlustoPod()
def test_heketi_volume_create_with_cluster_node_down(self):
if len(self.gluster_servers) < 5:
@@ -719,7 +719,7 @@ class TestHeketiVolume(BaseClass):
act_brick_count, exp_brick_count, err_msg.format(
act_brick_count, exp_brick_count))
- @pytest.mark.tier1
+ @pytest.mark.tier4
@podcmd.GlustoPod()
def test_volume_creation_after_stopping_heketidb_volume(self):
"""Validate volume creation after stopping heketidb volume"""
diff --git a/tests/functional/heketi/test_heketi_metrics.py b/tests/functional/heketi/test_heketi_metrics.py
index ec0fc57b..2b59b7c7 100644
--- a/tests/functional/heketi/test_heketi_metrics.py
+++ b/tests/functional/heketi/test_heketi_metrics.py
@@ -177,7 +177,7 @@ class TestHeketiMetrics(BaseClass):
"""Validate heketi metrics generation"""
self.verify_heketi_metrics_with_topology_info()
- @pytest.mark.tier1
+ @pytest.mark.tier4
def test_heketi_metrics_heketipod_failure(self):
"""Validate heketi metrics after heketi pod failure"""
scale_dc_pod_amount_and_wait(
diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py
index 65e3554d..72267c35 100644
--- a/tests/functional/heketi/test_heketi_node_operations.py
+++ b/tests/functional/heketi/test_heketi_node_operations.py
@@ -572,7 +572,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass):
for node_id in h_nodes_list[2:]:
self.addCleanup(h.heketi_node_enable, h_node, h_url, node_id)
- @pytest.mark.tier2
+ @pytest.mark.tier4
@ddt.data(
("volume", "create"),
("volume", "delete"),
diff --git a/tests/functional/heketi/test_server_state_examine_gluster.py b/tests/functional/heketi/test_server_state_examine_gluster.py
index 0a93c9eb..f802c68c 100644
--- a/tests/functional/heketi/test_server_state_examine_gluster.py
+++ b/tests/functional/heketi/test_server_state_examine_gluster.py
@@ -166,7 +166,7 @@ class TestHeketiServerStateExamineGluster(BaseClass):
"gluster examine {} are not same".format(
vol_type, heketi_volumes, examine_volumes))
- @pytest.mark.tier2
+ @pytest.mark.tier4
def test_validate_report_after_node_poweroff(self):
"""Validate node report in heketi gluster examine after poweroff"""
# Skip test if not able to connect to Cloud Provider
diff --git a/tests/functional/heketi/test_volume_creation.py b/tests/functional/heketi/test_volume_creation.py
index d96fa9e0..0094c689 100644
--- a/tests/functional/heketi/test_volume_creation.py
+++ b/tests/functional/heketi/test_volume_creation.py
@@ -419,7 +419,7 @@ class TestVolumeCreationTestCases(BaseClass):
'unexpectedly.' % (vol_info, vol_info_new))
self.assertFalse(vol_info_new, msg)
- @pytest.mark.tier2
+ @pytest.mark.tier4
def test_heketi_volume_provision_after_node_reboot(self):
"""Provision volume before and after node reboot"""
# Skip test if not able to connect to Cloud Provider