summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_volume_creation.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/heketi/test_volume_creation.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/heketi/test_volume_creation.py')
-rw-r--r--tests/functional/heketi/test_volume_creation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_volume_creation.py b/tests/functional/heketi/test_volume_creation.py
index a1671c28..3d9c917e 100644
--- a/tests/functional/heketi/test_volume_creation.py
+++ b/tests/functional/heketi/test_volume_creation.py
@@ -156,6 +156,7 @@ class TestVolumeCreationTestCases(BaseClass):
vol_fail,
"Volume should have not been created. Out: %s" % vol_fail)
+ @pytest.mark.tier1
@podcmd.GlustoPod()
def test_volume_create_replica_2(self):
"""Validate creation of a replica 2 volume"""
@@ -186,6 +187,7 @@ class TestVolumeCreationTestCases(BaseClass):
"Brick amount is expected to be 2. "
"Actual amount is '%s'" % brick_amount)
+ @pytest.mark.tier1
@podcmd.GlustoPod()
def test_volume_create_snapshot_enabled(self):
"""Validate volume creation with snapshot enabled"""
@@ -374,6 +376,7 @@ class TestVolumeCreationTestCases(BaseClass):
% (vol_name, gluster_v_info['brickCount']))
self.assertFalse(int(gluster_v_info['brickCount']) % 3)
+ @pytest.mark.tier1
def test_create_volume_with_same_name(self):
"""Test create two volumes with the same name and verify that 2nd one
is failing with the appropriate error.