From 80bd4bbeaf8feb2298cc3af16e9a1279678234d4 Mon Sep 17 00:00:00 2001 From: vamahaja Date: Sat, 14 Mar 2020 14:14:30 +0530 Subject: [TestFix] Add pytest marker for tier1 test cases Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1 Signed-off-by: vamahaja --- tests/functional/heketi/test_volume_creation.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/functional/heketi/test_volume_creation.py') 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. -- cgit