summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_gluster_ops_check.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-03-12 10:08:03 +0530
committervamahaja <vamahaja@redhat.com>2020-03-13 13:26:06 +0530
commit2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (patch)
tree14fdd5e0b2b5a1cf1382cedc16618989d2721900 /tests/functional/test_gluster_ops_check.py
parentb9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (diff)
[TestFix] Add pytest marker for tier0 test cases
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/test_gluster_ops_check.py')
-rw-r--r--tests/functional/test_gluster_ops_check.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/test_gluster_ops_check.py b/tests/functional/test_gluster_ops_check.py
index fc966342..a184aa2f 100644
--- a/tests/functional/test_gluster_ops_check.py
+++ b/tests/functional/test_gluster_ops_check.py
@@ -1,4 +1,5 @@
from glustolibs.gluster.brickmux_ops import is_brick_mux_enabled
+import pytest
from openshiftstoragelibs.baseclass import BaseClass
from openshiftstoragelibs.openshift_ops import cmd_run_on_gluster_pod_or_node
@@ -7,6 +8,7 @@ from openshiftstoragelibs import podcmd
class TestOpsCheck(BaseClass):
+ @pytest.mark.tier0
@podcmd.GlustoPod()
def test_check_bmux_enabled(self):
"""Check if the brickmultiplexing is enalbed"""
@@ -17,6 +19,7 @@ class TestOpsCheck(BaseClass):
err_msg = ("Brick multiplex is not enabled")
self.assertTrue(bmux_status, err_msg)
+ @pytest.mark.tier0
def test_check_max_brick_per_process(self):
"""Check if the max-brick process is set to 250"""