From 2a748126e0be8a2f920b0000bb3b62f6588f347a Mon Sep 17 00:00:00 2001 From: vamahaja Date: Mon, 30 Mar 2020 13:48:41 +0530 Subject: [TestFix] Add pytest marker for tier2 test cases Change-Id: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531 Signed-off-by: vamahaja --- tests/functional/metrics/test_metrics_validation.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/functional/metrics') diff --git a/tests/functional/metrics/test_metrics_validation.py b/tests/functional/metrics/test_metrics_validation.py index 0eda579f..12e3b90d 100644 --- a/tests/functional/metrics/test_metrics_validation.py +++ b/tests/functional/metrics/test_metrics_validation.py @@ -76,7 +76,7 @@ class TestMetricsAndGlusterRegistryValidation(GlusterBlockBaseClass): switch_oc_project(self.master, self.metrics_project_name) self.addCleanup(switch_oc_project, self.master, current_project) - @pytest.mark.tier1 + @pytest.mark.tier2 def test_validate_metrics_pods_and_pvc(self): """Validate metrics pods and PVC""" # Get cassandra pod name and PVC name @@ -114,7 +114,7 @@ class TestMetricsAndGlusterRegistryValidation(GlusterBlockBaseClass): is_registry_gluster=True) return hawkular_cassandra, pvc_name, iqn, hacount, node - @pytest.mark.tier1 + @pytest.mark.tier2 def test_verify_metrics_data_during_gluster_pod_respin(self): # Add check for CRS version switch_oc_project(self.master, self.registry_project_name) @@ -180,7 +180,7 @@ class TestMetricsAndGlusterRegistryValidation(GlusterBlockBaseClass): if raise_on_error: raise err - @pytest.mark.tier1 + @pytest.mark.tier2 @ddt.data('delete', 'drain') def test_metrics_during_cassandra_pod_respin(self, motive='delete'): """Validate cassandra pod respin""" @@ -229,7 +229,7 @@ class TestMetricsAndGlusterRegistryValidation(GlusterBlockBaseClass): rtype='rc', heketi_server_url=self.registry_heketi_server_url, is_registry_gluster=True) - @pytest.mark.tier1 + @pytest.mark.tier2 def test_metrics_cassandra_pod_pvc_all_freespace_utilization(self): """Validate metrics by utilizing all the free space of block PVC bound to cassandra pod""" @@ -257,7 +257,7 @@ class TestMetricsAndGlusterRegistryValidation(GlusterBlockBaseClass): self.addCleanup( oc_rsh, self.master, hawkular_cassandra, cmd_remove_file) - @pytest.mark.tier1 + @pytest.mark.tier2 def test_metrics_cassandra_pod_with_bhv_brick_process_down(self): """Validate metrics during restart of brick process of bhv""" -- cgit