summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-04-07 15:28:32 +0530
committervamahaja <vamahaja@redhat.com>2020-04-07 16:09:50 +0530
commit2059a891915da1dc8e20875f6b28daa72ea11091 (patch)
treea9bcd6fe1755ba55ec56621785df2f53a15b2dde /tests/functional/heketi
parent1285efcf0ab5912a6c8820ef85ad12a6ef520196 (diff)
[TestFix] Add tc marker tier0 & tier1
Change-Id: I079c8ddd0e72b55754e075de06ca168b220f80c8 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r--tests/functional/heketi/test_heketi_node_operations.py1
-rw-r--r--tests/functional/heketi/test_server_state_examine_gluster.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py
index e6ea2d60..fbc6f23c 100644
--- a/tests/functional/heketi/test_heketi_node_operations.py
+++ b/tests/functional/heketi/test_heketi_node_operations.py
@@ -249,6 +249,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass):
# Add node to valid cluster id
self.heketi_node_add_with_valid_cluster()
+ @pytest.mark.tier1
def test_validate_heketi_node_add_with_db_check(self):
"""Test heketi db check after node add operation"""
if (openshift_storage_version.get_openshift_storage_version()
diff --git a/tests/functional/heketi/test_server_state_examine_gluster.py b/tests/functional/heketi/test_server_state_examine_gluster.py
index 755e2095..a5f823b6 100644
--- a/tests/functional/heketi/test_server_state_examine_gluster.py
+++ b/tests/functional/heketi/test_server_state_examine_gluster.py
@@ -90,6 +90,7 @@ class TestHeketiServerStateExamineGluster(BaseClass):
"Nodes count from 'DB check' (%s) doesn't match calculated nodes "
"count (%s)." % (db_nodes_count, calculated_nodes_count))
+ @pytest.mark.tier0
@ddt.data('device_count', 'node_count', 'bricks_count')
def test_verify_db_check(self, count_type):
"""Validate the nodes, devices and bricks count in heketi db"""