summaryrefslogtreecommitdiffstats
path: root/tests/functional/gluster_stability/test_restart_gluster_services.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-03-14 14:14:30 +0530
committervamahaja <vamahaja@redhat.com>2020-03-17 12:21:59 +0530
commit80bd4bbeaf8feb2298cc3af16e9a1279678234d4 (patch)
tree3193df60bb80885da1ef8c74e586b1f0384d64a3 /tests/functional/gluster_stability/test_restart_gluster_services.py
parent2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (diff)
[TestFix] Add pytest marker for tier1 test cases
Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/gluster_stability/test_restart_gluster_services.py')
-rw-r--r--tests/functional/gluster_stability/test_restart_gluster_services.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/gluster_stability/test_restart_gluster_services.py b/tests/functional/gluster_stability/test_restart_gluster_services.py
index aaa16d5..d292ba5 100644
--- a/tests/functional/gluster_stability/test_restart_gluster_services.py
+++ b/tests/functional/gluster_stability/test_restart_gluster_services.py
@@ -4,6 +4,7 @@ from unittest import skip
import ddt
from glusto.core import Glusto as g
+import pytest
from openshiftstoragelibs.baseclass import GlusterBlockBaseClass
from openshiftstoragelibs.gluster_ops import (
@@ -168,6 +169,7 @@ class GlusterStabilityTestSetup(GlusterBlockBaseClass):
wait_to_heal_complete()
@skip("Blocked by BZ-1634745, BZ-1635736, BZ-1636477")
+ @pytest.mark.tier1
@ddt.data(SERVICE_BLOCKD, SERVICE_TCMU, SERVICE_TARGET)
def test_restart_services_provision_volume_and_run_io(self, service):
"""Restart gluster service then validate volumes"""
@@ -210,6 +212,7 @@ class GlusterStabilityTestSetup(GlusterBlockBaseClass):
self.validate_volumes_and_blocks()
@skip("Blocked by BZ-1634745, BZ-1635736, BZ-1636477")
+ @pytest.mark.tier1
def test_target_side_failures_brick_failure_on_block_hosting_volume(self):
"""Target side failures - Brick failure on block hosting volume"""
skip_msg = (
@@ -247,6 +250,7 @@ class GlusterStabilityTestSetup(GlusterBlockBaseClass):
self.validate_volumes_and_blocks()
@skip("Blocked by BZ-1634745, BZ-1635736, BZ-1636477")
+ @pytest.mark.tier1
def test_start_stop_block_volume_service(self):
"""Validate block hosting volume by start/stop operation