diff options
author | vamahaja <vamahaja@redhat.com> | 2020-03-12 10:08:03 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2020-03-13 13:26:06 +0530 |
commit | 2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (patch) | |
tree | 14fdd5e0b2b5a1cf1382cedc16618989d2721900 /tests/functional/heketi/test_heketi_create_volume.py | |
parent | b9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (diff) |
[TestFix] Add pytest marker for tier0 test cases
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi/test_heketi_create_volume.py')
-rw-r--r-- | tests/functional/heketi/test_heketi_create_volume.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_create_volume.py b/tests/functional/heketi/test_heketi_create_volume.py index 79d54f48..0ade5946 100644 --- a/tests/functional/heketi/test_heketi_create_volume.py +++ b/tests/functional/heketi/test_heketi_create_volume.py @@ -8,6 +8,7 @@ except ImportError: from glusto.core import Glusto as g from glustolibs.gluster.volume_ops import get_volume_list, get_volume_info import mock +import pytest import six from openshiftstoragelibs.baseclass import BaseClass @@ -43,6 +44,7 @@ class TestHeketiVolume(BaseClass): super(TestHeketiVolume, cls).setUpClass() cls.volume_size = 1 + @pytest.mark.tier0 @podcmd.GlustoPod() def test_volume_create_and_list_volume(self): """Validate heketi and gluster volume list""" @@ -117,6 +119,7 @@ class TestHeketiVolume(BaseClass): self.assertTrue(vol_info, "Failed to get volume info %s" % name) g.log.info("Successfully got the volume info %s" % name) + @pytest.mark.tier0 def test_create_vol_and_retrieve_topology_info(self): volume_names = [] volume_ids = [] @@ -221,6 +224,7 @@ class TestHeketiVolume(BaseClass): self.assertTrue(out, ("Failed to list heketi cluster")) g.log.info("All heketi cluster successfully listed") + @pytest.mark.tier0 def test_to_check_deletion_of_node(self): """Validate deletion of a node which contains devices""" |