summaryrefslogtreecommitdiffstats
path: root/tests/functional/metrics/test_metrics_validation.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-03-30 13:48:41 +0530
committervamahaja <vamahaja@redhat.com>2020-03-31 11:34:24 +0530
commit2a748126e0be8a2f920b0000bb3b62f6588f347a (patch)
treea67fe8ba26bda40f38d81f75d8efb6d61adfcde3 /tests/functional/metrics/test_metrics_validation.py
parent1b93f719566bdaad263d4e6e5ed107c7311541c9 (diff)
[TestFix] Add pytest marker for tier2 test cases
Change-Id: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/metrics/test_metrics_validation.py')
-rw-r--r--tests/functional/metrics/test_metrics_validation.py10
1 files changed, 5 insertions, 5 deletions
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"""