summaryrefslogtreecommitdiffstats
path: root/tests/functional/arbiter
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/arbiter
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/arbiter')
-rw-r--r--tests/functional/arbiter/test_arbiter.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/arbiter/test_arbiter.py b/tests/functional/arbiter/test_arbiter.py
index 27c9a46..ce2777c 100644
--- a/tests/functional/arbiter/test_arbiter.py
+++ b/tests/functional/arbiter/test_arbiter.py
@@ -322,6 +322,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
self.verify_amount_and_proportion_of_arbiter_and_data_bricks(
vol_info, arbiter_bricks=2, data_bricks=4)
+ @pytest.mark.tier1
# NOTE(vponomar): do not create big volumes setting value less than 64
# for 'avg_file_size'. It will cause creation of very huge amount of files
# making one test run very loooooooong.
@@ -391,6 +392,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
"Arbiter brick '%s' was not verified. Looks like it was "
"not found on any of gluster PODs/nodes." % brick["name"])
+ @pytest.mark.tier1
@ddt.data(
(False, False, True, True),
(True, True, False, False),
@@ -478,6 +480,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
self.assertIn(
data_brick.split(':')[0], data_nodes_ip_addresses)
+ @pytest.mark.tier1
def test_create_delete_pvcs_to_make_gluster_reuse_released_space(self):
"""Validate reuse of volume space after deletion of PVCs"""
min_storage_gb = 10
@@ -588,6 +591,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
self.verify_amount_and_proportion_of_arbiter_and_data_bricks(
vol_info, arbiter_bricks=2, data_bricks=4)
+ @pytest.mark.tier1
@ddt.data(True, False)
def test_expand_arbiter_volume_setting_tags_on_nodes_or_devices(
self, node_tags):
@@ -675,6 +679,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
for brick in bricks['data_list']:
self.assertIn(brick['name'].split(':')[0], data_hosts)
+ @pytest.mark.tier1
@ddt.data(
(4, '250M', True),
(8, '122M', True),
@@ -811,6 +816,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
openshift_ops.cmd_run_on_gluster_pod_or_node(
self.node, cmd, gluster_node_ip)
+ @pytest.mark.tier1
def test_arbiter_scaled_heketi_and_gluster_volume_mapping(self):
"""Test to validate PVC, Heketi & gluster volume mapping
for large no of PVC's
@@ -836,6 +842,7 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass):
gluster_ops.match_heketi_and_gluster_volumes_by_prefix(
heketi_volume_names, "{}_".format(prefix))
+ @pytest.mark.tier1
@podcmd.GlustoPod()
def test_arbiter_volume_node_tag_removal(self):
"""Test remove tags from nodes and check if arbiter volume is